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

SourceForge.net noreply at sourceforge.net
Mon Jun 27 00:35:14 CEST 2005


Bugs item #1088039, was opened at 2004-12-19 20:31
Message generated for change (Comment added) made by birkenfeld
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1088039&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: None
>Status: Closed
>Resolution: Duplicate
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


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

>Comment By: Reinhold Birkenfeld (birkenfeld)
Date: 2005-06-27 00:35

Message:
Logged In: YES 
user_id=1188172

According to bug #696846, this is closed in CVS. Closing as
Duplicate.

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

Comment By: silicio (ivorocha)
Date: 2005-01-21 20:14

Message:
Logged In: YES 
user_id=1202006

It's the same problem found in (Request ID 696846).

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

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