Bugs item #1565087, was opened at 2006-09-25 13:15
Message generated for change (Comment added) made by gbrandl
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1565087&group_id=5470

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: Python Library
Group: Python 2.5
>Status: Closed
>Resolution: Invalid
Priority: 5
Submitted By: Richard Philips (rphilips)
Assigned to: Nobody/Anonymous (nobody)
Summary: Misbehaviour in zipfile

Initial Comment:
Python 2.5

In library module zipfile, a ZipFile object has method
write( filename[, arcname[, compress_type]])

If arcname is not specified, it defaults to the
pathname of filename without a drive letter and with
leading path separators removed.

That is OK.

But if arcname is explicitely specified, the drive
letter and leading path separators are also removed.

I think that is not OK.


thanks,

Richard Philips

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

>Comment By: Georg Brandl (gbrandl)
Date: 2006-09-30 07:40

Message:
Logged In: YES 
user_id=849994

It is, since the Zip specification doesn't allow paths with
drive letters or absolute paths for files inside the zip.

See bug #1413790.

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1565087&group_id=5470
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to