commit | d14600ec94abc39dfb83dfccae89d8e7043f3b8b | [log] [tgz] |
---|---|---|
author | Facundo Batista <facundobatista@gmail.com> | Mon Feb 18 12:48:43 2008 +0000 |
committer | Facundo Batista <facundobatista@gmail.com> | Mon Feb 18 12:48:43 2008 +0000 |
tree | ee92278c7d0bee4178238c54dac0483f173c9787 | |
parent | 759bfc6207e7979d4eaeed2a2ae611e1804aef55 [diff] [blame] |
Issue 1224. Now we support again the double slash in the URL. Thanks Anthony Lenton.
diff --git a/Lib/SimpleHTTPServer.py b/Lib/SimpleHTTPServer.py index 86c669e..249e237 100644 --- a/Lib/SimpleHTTPServer.py +++ b/Lib/SimpleHTTPServer.py
@@ -146,7 +146,8 @@ """ # abandon query parameters - path = urlparse.urlparse(path)[2] + path = path.split('?',1)[0] + path = path.split('#',1)[0] path = posixpath.normpath(urllib.unquote(path)) words = path.split('/') words = filter(None, words)