Skip to content
This repository has been archived by the owner on Oct 22, 2020. It is now read-only.

Control Chars in Filename #2375

Open
diversemix opened this issue Oct 3, 2019 · 0 comments
Open

Control Chars in Filename #2375

diversemix opened this issue Oct 3, 2019 · 0 comments
Labels
Bug Anything that does not work as expected.

Comments

@diversemix
Copy link
Contributor

We've had a problem in production with the following e52f80a3-dee5-461d-ba2f-1f79a1be1cc3-meca.zip

Turns out the reference in the xml file had control chars in (see below) and the actual file in the zip does not when extracted but does in the zip file (see screenshot)
image

(base) ~/Documents/xml-fail-e52f $ cat manifest.xml |grep filen| hd
00000000  20 20 20 20 20 20 20 20  3c 66 69 6c 65 6e 61 6d  |        <filenam|
00000010  65 3e 54 61 1d 63 68 1d  69 77 61 6e 61 20 5f 65  |e>Ta.ch.iwana _e|
00000020  4c 69 66 65 5f 69 6e 69  74 69 61 6c 2d 73 75 62  |Life_initial-sub|
00000030  6d 69 73 73 69 6f 6e 32  2e 70 64 66 3c 2f 66 69  |mission2.pdf</fi|
(base) ~/Documents/xml-fail-e52f $ ls T* | hd
00000000  54 61 63 68 69 77 61 6e  61 20 5f 65 4c 69 66 65  |Tachiwana _eLife|
00000010  5f 69 6e 69 74 69 61 6c  2d 73 75 62 6d 69 73 73  |_initial-submiss|
00000020  69 6f 6e 32 2e 70 64 66  0a                       |ion2.pdf.|
00000029
@diversemix diversemix added the Bug Anything that does not work as expected. label Oct 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Anything that does not work as expected.
Projects
None yet
Development

No branches or pull requests

1 participant