Fazal Majid <[email protected]> added the comment:
Well, CGI/1.1 was formally documented by RFC 3875 in October 2004 (a full 11
years after CGI was introduced...).
http://www.rfc-editor.org/rfc/rfc3875.txt
The RFC is classified as "informative", but it's as close to a definitive spec
for CGI as we will ever get. Section 7 described the system-specific
implementation notes, and 7.2 specifies UNIX in particular:
The current working directory
The current working directory for the script SHOULD be set to the
directory containing the script.
This is also the specified behavior for AmugaDOS and EBCDIC POSIX systems.
Oddly enough, the RFC editor did not find it worthwhile to specify the behavior
on Windows...
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue1684>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com