[Patches] [ python-Patches-1360443 ] correct display of pathnames in SimpleHTTPServer
SourceForge.net
noreply at sourceforge.net
Fri Dec 16 20:37:34 CET 2005
Patches item #1360443, was opened at 2005-11-18 20:03
Message generated for change (Settings changed) made by birkenfeld
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1360443&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: Library (Lib)
Group: Python 2.4
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Ori Avtalion (salty-horse)
Assigned to: Nobody/Anonymous (nobody)
Summary: correct display of pathnames in SimpleHTTPServer
Initial Comment:
The patch makes the simple file server display path
names that includes reserved and unsafe characters.
Previously, a path named dir&a was displayed as dir%26a
since "self.path" was processed by urllib.quote. The
"path" parameter, however, is untouched.
----------------------------------------------------------------------
>Comment By: Reinhold Birkenfeld (birkenfeld)
Date: 2005-12-16 20:37
Message:
Logged In: YES
user_id=1188172
Thanks for the patch. There was an error in it, as the
parameter "path" contains the local path and "self.path" the
path relative to the server root. I committed a corrected
version in rev. 41714/41715.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1360443&group_id=5470
More information about the Patches
mailing list