[Web-SIG] WSGI unquoting rules

Robert Brewer fumanchu at amor.org
Mon Aug 7 02:05:21 CEST 2006


PEP 333 doesn't directly state whether a WSGI server should unquote the path or the query string before setting SCRIPT_NAME, PATH_INFO, and QUERY_STRING. The "URL Reconstruction" section assumes that the path has been unquoted but not the query string, as do wsgiref.simpleserver and most other WSGI servers in the wild.

Shouldn't the spec define this explicitly?


Robert Brewer
System Architect
Amor Ministries
fumanchu at amor.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/web-sig/attachments/20060806/4505d001/attachment.htm 


More information about the Web-SIG mailing list