[ python-Bugs-946247 ] CGI QUERY_STRING

SourceForge.net noreply at sourceforge.net
Mon Jun 27 00:45:59 CEST 2005


Bugs item #946247, was opened at 2004-05-02 07:42
Message generated for change (Comment added) made by birkenfeld
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=946247&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: Python 2.3
>Status: Closed
>Resolution: Duplicate
Priority: 5
Submitted By: Larry (bugbee)
Assigned to: Nobody/Anonymous (nobody)
Summary: CGI QUERY_STRING

Initial Comment:
CGIHTTPServer.py

QUERY_STRING kept carrying forward the old value
especially with subsequent calls that didn't have a
query string.  QUERY_STRING was not being cleared.  

In CGIHTTPServer.py, lines 150 and 151 currently read:
        if query:
            env['QUERY_STRING'] = query

and should read:
        if query:
            env['QUERY_STRING'] = query
        else:
            env['QUERY_STRING'] = ''        #  '' or
None ???



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

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

Message:
Logged In: YES 
user_id=1188172

According to bug #777848, this is already fixed. Closing as
Duplicate.

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

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


More information about the Python-bugs-list mailing list