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 johnseman
Recipients eric.smith, johnseman
Date 2015-07-19.13:11:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1437311462.28.0.829512398398.issue24661@psf.upfronthosting.co.za>
In-reply-to
Content
Image you had the following URL.

 http://localhost:8000/cgi-bin/test.cgi?q=Dolce%26Gabbana&p=1

os.environ['QUERY_STRING'] would hold the value 

 q=Dolce&Gabbana&p=1

If you ran the following code, you would be unable to get the value of the q paramater in full.

import cgi
form = cgi.FieldStorage()
print form["q"].value # Outputs Dolce without the Gabbbana
History
Date User Action Args
2015-07-19 13:11:02johnsemansetrecipients: + johnseman, eric.smith
2015-07-19 13:11:02johnsemansetmessageid: <1437311462.28.0.829512398398.issue24661@psf.upfronthosting.co.za>
2015-07-19 13:11:02johnsemanlinkissue24661 messages
2015-07-19 13:11:02johnsemancreate