Commit 43ed780
committed
fix(s3): trim multiple spaces to single space in original path header
Signed-off-by: Kent Delante <kent@delante.me>
The spec defines that x-amz-meta-original-path header needs spaces to
be trimmed and multiple spaces need to be converted to a single
space. This is to comply with the spec and fix it for some storage
hosts that return a SignatureDoesNotMatch error when not done.1 parent 60f4e84 commit 43ed780
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
501 | 501 | | |
502 | 502 | | |
503 | 503 | | |
504 | | - | |
| 504 | + | |
505 | 505 | | |
506 | 506 | | |
507 | 507 | | |
| |||
0 commit comments