1

Closed

String Indexer on ZipFile fails to find the entry by name

description

ZipFile["File Name\With A Back Slash.png"] fails to find file in the archive. Looking at the ZipEntry collection in the debugger it looks like it has a \ in the name but the indexer calls NormalizePathForUseInZipFile() which I think removes this. And hence it isn't found.
 
DWF file is a ZIP package file produced by AutoCAD.

file attachments

Closed Jun 14, 2011 at 4:50 AM by Cheeso
fixed in changeset 79052. First binary: V1.9.1.6

comments

Cheeso wrote Jun 16, 2010 at 12:29 AM

thanks, I'll look into it. In the meantime you can just use a forward-slash, I think.

Cheeso wrote Jun 13, 2011 at 3:12 PM

I've reproduced this problem here.