Originally posted by caligula
View Post
file name: (Variable) The name of the file, with optional relative path. The path stored should not contain a drive or device letter, or a leading slash. All slashes should be forward slashes '/' as opposed to backwards slashes '\' for compatibility with Amiga and Unix file systems etc. If input came from standard input, there is no file name field.
caligula slash direction is stated. Any file name with a backwards slash in is in invalid. The example foo.zip put up be Nth_man is a invalid zip file. Valid zip files don't have backward slashes in file names. Yes the mean of forward slash also should come from the Amiga/Unix meaning.
Sorry zip format states everything about slashes you. So ark rejecting to decompress a file name with a '\' in it was conforming to standard doing that. Yes under windows if you use PKzip made by the maker the standard of zip you cannot make zip file with a '\' in the file name either it just will not happen.
When something is technically invalid by standard things get tricky. Do you stick to the standard or do you support broken.
Comment