Bugs item #1386994, was opened at 2005-12-21 11:44
Message generated for change (Comment added) made by wingmansf
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1386994&group_id=31650

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Core
Group: 0.85
Status: Open
Resolution: None
Priority: 5
Submitted By: Klaus Bertram (kbertram)
Assigned to: Nobody/Anonymous (nobody)
Summary: UnZip to root folder

Initial Comment:
If a zip file contain entry’s from root the unzip task
unzip it also to root and not to the todir directory.
Sample:
Zip entry
/folder/folder/text.xml
todir
d:\test\tmp
The file would be extract to
d:\folder\folder\text.xml

The Path.Combine function merges it to this.
By filtering out the root slash or backslash it works
properly.


----------------------------------------------------------------------

Comment By: Christian Birkl (wingmansf)
Date: 2006-02-24 12:51

Message:
Logged In: YES 
user_id=934713

IMHO this bug is invalid and should be closed since zip 
archies cannot contain files with folders starting 
with '/' (or [A-z]:\).

Tested with Winrar and winzip, neither of them store files 
in a rooted syntax (even with "store full path info" 
enabled they just store files without a leading "/").

Example:

zipping file "/folder/folder/test.txt" will be stored in 
the zip file as "folder/folder/test.txt" if store full 
path info is enabled.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1386994&group_id=31650


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to