Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added support for encoded urls to hyde server

  • Loading branch information...
commit ffd729918727e1253fc2079be19e9d55a3b13aad 1 parent 7ce5815
@gfuchedzhy authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  hyde/server.py
View
3  hyde/server.py
@@ -55,9 +55,8 @@ def translate_path(self, path):
Finds the absolute path of the requested file by
referring to the `site` variable in the server.
"""
- path = SimpleHTTPRequestHandler.translate_path(self, path)
site = self.server.site
- result = urlparse.urlparse(self.path)
+ result = urlparse.urlparse(urllib.unquote(self.path).decode('utf-8'))
logger.debug("Trying to load file based on request: [%s]" % result.path)
path = result.path.lstrip('/')
res = None
Please sign in to comment.
Something went wrong with that request. Please try again.