John S added the comment: 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 ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue24661> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com