Fix propfind paths

This commit is contained in:
Guillaume Ayoub
2011-06-16 07:49:47 +02:00
parent 87a4a4e012
commit de0643e741
2 changed files with 2 additions and 3 deletions

View File

@@ -143,8 +143,7 @@ class Application(object):
@staticmethod
def sanitize_uri(uri):
"""Clean URI: unquote and remove /../ to prevent access to other data."""
uri = posixpath.normpath(urllib.unquote(uri))
return uri
return posixpath.normpath(urllib.unquote(uri))
def __call__(self, environ, start_response):
"""Manage a request."""