1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-09-12 20:30:57 +00:00

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."""