[Patches] [ python-Patches-1535504 ] CGIHTTPServer doesn't handle path names with embeded space
SourceForge.net
noreply at sourceforge.net
Fri Oct 27 19:55:00 CEST 2006
Patches item #1535504, was opened at 2006-08-06 15:43
Message generated for change (Comment added) made by akuchling
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1535504&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: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Hartmut Goebel (htgoebel)
Assigned to: Nobody/Anonymous (nobody)
Summary: CGIHTTPServer doesn't handle path names with embeded space
Initial Comment:
This is a patch for Bug #1436206:
On Windows, if the path name of a CGI script to be run
contains space characters, it need to be quoted
properly when called via os.popen2/3. Otherwise the
script can not be executed.
Solved by using commands.mkarg() to quote arguments
where necessary.
----------------------------------------------------------------------
>Comment By: A.M. Kuchling (akuchling)
Date: 2006-10-27 13:54
Message:
Logged In: YES
user_id=11375
Would it simplify matters if CGIHTTPServer used the
subprocess module, which tries to provide a
platform-independent interface?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1535504&group_id=5470
More information about the Patches
mailing list