This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author v+python
Recipients facundobatista, fdrake, orsenthil, v+python
Date 2012-04-17.06:05:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1334642707.9.0.200978022226.issue10486@psf.upfronthosting.co.za>
In-reply-to
Content
Reading the CGI 1.1 spec, it says:

   The QUERY_STRING value provides the query-string part of the
   Script-URI.  (See section 3.3).

   The server MUST set this variable; if the Script-URI does not include
   a query component, the QUERY_STRING MUST be defined as an empty
   string ("").

Therefore the code in run_cgi that says:

        if query:
            env['QUERY_STRING'] = query

should have the conditional removed.
History
Date User Action Args
2012-04-17 06:05:08v+pythonsetrecipients: + v+python, fdrake, facundobatista, orsenthil
2012-04-17 06:05:07v+pythonsetmessageid: <1334642707.9.0.200978022226.issue10486@psf.upfronthosting.co.za>
2012-04-17 06:05:07v+pythonlinkissue10486 messages
2012-04-17 06:05:07v+pythoncreate