summaryrefslogtreecommitdiff
path: root/paste/httpserver.py
diff options
context:
space:
mode:
Diffstat (limited to 'paste/httpserver.py')
-rwxr-xr-xpaste/httpserver.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/paste/httpserver.py b/paste/httpserver.py
index 9407e4f..ecd8a1e 100755
--- a/paste/httpserver.py
+++ b/paste/httpserver.py
@@ -165,7 +165,7 @@ class WSGIHandlerMixin:
path = urllib.unquote(path)
endslash = path.endswith('/')
path = posixpath.normpath(path)
- if endslash:
+ if endslash and path != '/':
# Put the slash back...
path += '/'
(server_name, server_port) = self.server.server_address