Commit 4300501
committed
fix(shared): also encode file names that already look like an encoded-word
A literal ASCII file name such as "=?UTF-8?B?SGVsbG8=?=" was stored verbatim
but unwrapped to "Hello" when read back from S3 metadata. Encode such values
too so decodeS3MetadataValue can never misinterpret a literal name.1 parent d29822d commit 4300501
2 files changed
Lines changed: 11 additions & 1 deletion
File tree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
36 | 44 | | |
37 | 45 | | |
38 | 46 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
| |||
0 commit comments