mirror of
https://github.com/Kozea/Radicale.git
synced 2025-08-22 19:20:54 +00:00
Fix propfind paths
This commit is contained in:
parent
00d8b08341
commit
ed1ad975a6
2 changed files with 2 additions and 3 deletions
|
@ -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."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue