Message246941
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 |
|
Date |
User |
Action |
Args |
2015-07-19 13:11:02 | johnseman | set | recipients:
+ johnseman, eric.smith |
2015-07-19 13:11:02 | johnseman | set | messageid: <1437311462.28.0.829512398398.issue24661@psf.upfronthosting.co.za> |
2015-07-19 13:11:02 | johnseman | link | issue24661 messages |
2015-07-19 13:11:02 | johnseman | create | |
|