[ python-Bugs-1088039 ] CGIHTTPServer: directories/scripts with spaces in their name

SourceForge.net noreply at sourceforge.net
Sun Dec 19 20:31:18 CET 2004


Bugs item #1088039, was opened at 2004-12-19 11:31
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1088039&group_id=5470

Category: Python Library
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: LT (sweetleon)
Assigned to: Nobody/Anonymous (nobody)
Summary: CGIHTTPServer: directories/scripts with spaces in their name

Initial Comment:
It looks like we're not properly quoting the path the
script, and when the script or its directory has a
space in its name - quite common on Windoze - it
doesn't work. Here's the output:

host - - [19/Dec/2004 11:07:01] command:
C:\Python24\python.exe -u c:\Documents a
nd Settings\User\My Documents\project\cgi-bin\webpage.py ""
host - - [19/Dec/2004 11:07:01] C:\Python24\python.exe:
can't open file 'c:\Docum
ents': [Errno 2] No such file or directory

ibm - - [19/Dec/2004 11:07:02] CGI script exit status 0x2
ibm - - [19/Dec/2004 11:07:02] code 404, message File
not found


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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1088039&group_id=5470


More information about the Python-bugs-list mailing list