diff --git a/Lib/SimpleHTTPServer.py b/Lib/SimpleHTTPServer.py index 01a6097639b..20ed1166b5b 100644 --- a/Lib/SimpleHTTPServer.py +++ b/Lib/SimpleHTTPServer.py @@ -130,7 +130,7 @@ class SimpleHTTPRequestHandler(BaseHTTPServer.BaseHTTPRequestHandler): """ path = posixpath.normpath(urllib.unquote(path)) - words = path.splitfields('/') + words = path.split('/') words = filter(None, words) path = os.getcwd() for word in words: