Skip to content
This repository has been archived by the owner on Dec 18, 2018. It is now read-only.

Commit

Permalink
Unencode the path when converting to a filesystem path.
Browse files Browse the repository at this point in the history
  • Loading branch information
jgraham committed Nov 26, 2015
1 parent b6b082f commit b7cfbd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wptserve/handlers.py
Expand Up @@ -30,7 +30,7 @@ def filesystem_path(base_path, request, url_base="/"):
if base_path is None:
base_path = request.doc_root

path = request.url_parts.path
path = urllib.unquote(request.url_parts.path)

if path.startswith(url_base):
path = path[len(url_base):]
Expand Down

0 comments on commit b7cfbd4

Please sign in to comment.