-
Notifications
You must be signed in to change notification settings - Fork 180
Closed
Description
Line 257 in 94e2311
| scheme, netloc, path, query, fragment = urlparse.urlsplit(uri) |
This leads to things like:
>>> from urllib import parse as urlparse
>>> urlparse.urlsplit('//testing/whatever')
SplitResult(scheme='', netloc='testing', path='/whatever', query='', fragment='')
Which means we accidentally drop testing before sending it on to the WSGI application. Ask me later how I figured that out.
A request such as:
GET //testing/whatever HTTP/1.1
Is perfectly valid. Non-sensical maybe, but perfectly valid.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels