[New-bugs-announce] [issue10753] request_uri method of wsgiref module does not support RFC1808 params.

Timothy Gates report at bugs.python.org
Wed Dec 22 00:42:28 CET 2010


New submission from Timothy Gates <tim.gates at gmail.com>:

Consider the URL making use of the RFC1808 param syntax...

http://www/path;cookie=1234

The entire section '/path;cookie=1234' is passed in as PATH_INFO and so under the request_uri implementation it will be quoted

> import wsgiref
> wsgiref.request_uri({'wsgi.url_scheme': 'http', 'HTTP_HOST': 'www', 'PATH_INFO': '/path;cookie=1234'})
'http://www/path%3Bcookie%3D1234'

----------
components: Library (Lib)
messages: 124468
nosy: Timothy.Gates
priority: normal
severity: normal
status: open
title: request_uri method of wsgiref module does not support RFC1808 params.
type: behavior
versions: Python 2.7, Python 3.1, Python 3.2, Python 3.3

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10753>
_______________________________________


More information about the New-bugs-announce mailing list