[issue24661] CGIHTTPServer: premature unescaping of query string

2015-11-10 Thread Martin Panter
Martin Panter added the comment: The CGI server no longer unquotes the query string thanks to the fix for Issue 24657. The fix should be in the next (2.7.11) release. -- nosy: +martin.panter resolution: -> out of date stage: -> resolved status: open -> closed superseder: ->

[issue24661] CGIHTTPServer: premature unescaping of query string

2015-07-19 Thread John S
John S added the comment: Image you had the following URL. http://localhost:8000/cgi-bin/test.cgi?q=Dolce%26Gabbanap=1 os.environ['QUERY_STRING'] would hold the value q=DolceGabbanap=1 If you ran the following code, you would be unable to get the value of the q paramater in full. import

[issue24661] CGIHTTPServer: premature unescaping of query string

2015-07-18 Thread John S
New submission from John S: I created a simple CGI script that outputs the query string passed to it: ``` #!/usr/bin/env python import os print 'Content-Type: text/html\n\n' print os.environ['QUERY_STRING'] ``` I saved it as cgi-bin/test.cgi and made it executable. I then ran `python -m

[issue24661] CGIHTTPServer: premature unescaping of query string

2015-07-18 Thread Eric V. Smith
Eric V. Smith added the comment: I would expect the cgi script to receive the unescaped values. Can you point to some reference that says otherwise? -- nosy: +eric.smith ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24661