Show More
@@ -37,10 +37,10 b' def _splitURI(uri):' | |||
|
37 | 37 | Just like CGI environment, the path is unquoted, the query is |
|
38 | 38 | not. |
|
39 | 39 | """ |
|
40 | if '?' in uri: | |
|
41 | path, query = uri.split('?', 1) | |
|
40 | if r'?' in uri: | |
|
41 | path, query = uri.split(r'?', 1) | |
|
42 | 42 | else: |
|
43 | path, query = uri, '' | |
|
43 | path, query = uri, r'' | |
|
44 | 44 | return urlreq.unquote(path), query |
|
45 | 45 | |
|
46 | 46 | class _error_logger(object): |
General Comments 0
You need to be logged in to leave comments.
Login now