mirror of
https://github.com/Kozea/Radicale.git
synced 2025-08-10 18:40:53 +00:00
Don't double unquote request URL
"%2525" was transformed to "%" instead of "%25".
This commit is contained in:
parent
dbaf58dbfe
commit
664fa71278
1 changed files with 1 additions and 2 deletions
|
@ -313,8 +313,7 @@ class Application:
|
|||
self.logger.debug("Sanitized script name: %s", environ["SCRIPT_NAME"])
|
||||
base_prefix = environ["SCRIPT_NAME"]
|
||||
# Sanitize request URI
|
||||
environ["PATH_INFO"] = storage.sanitize_path(
|
||||
unquote(environ["PATH_INFO"]))
|
||||
environ["PATH_INFO"] = storage.sanitize_path(environ["PATH_INFO"])
|
||||
self.logger.debug("Sanitized path: %s", environ["PATH_INFO"])
|
||||
path = environ["PATH_INFO"]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue