Closed Jawfin closed 2 years ago
It is properly done in mORMOt 2, with a proper ZipNamePathDelim property.
By default, it should be '/' you are right. I have forced the path delimiter to '/' just before writing to disk, as requested by 4.4.17 of reference PKware appnote.
Cheers! I just changed that character for mine!! Looking forwards to seeing mORMOt 2 going stable :)
should be good now.
Please reopen a new ticket on any new issuE.
https://github.com/synopse/mORMot/blob/34bf46e37bb7d2b4dc91adaa4cbdc73e0106a429/SynZip.pas#L1010
I'm no expert, but it seems that last character '\' should be '/'. https://sourceforge.net/p/sevenzip/discussion/45797/thread/30a0833bc9/?limit=25#135d 7Zip doesn't handle the \ and replaces it with a unicode dot instead of handling it as a sub-folder.