Zip cannot handle ".." in file names

Please post support and help requests here.
Posts: 1
Joined: 22 Aug 2013, 10:39

Zip cannot handle ".." in file names

Postby LonelyPixel » 22 Aug 2013, 10:44

Why cannot Zip handle ".." in file names? I find that pretty stupid because I need to create an exact copy of a whole directory and all its files. I've looked it up in the Poco source code, and it seems that ".." (assigned to ILLEGAL_PATH) is rejected everywhere. What would happen if I just remove those checks from the code? Why are they even there? I'd accept that ".." alone would be invalid, as would be ".", but it's totally correct within a file name. And from previous tests, I've found that even "?" in filenames is working fine.

Return to “Support”

Who is online

Users browsing this forum: No registered users and 2 guests