include multiple '/'s in gaia read path, if given

This commit is contained in:
Jude Nelson
2018-10-03 11:57:19 -04:00
parent e6d1e80082
commit 9022bc1b8d

View File

@@ -425,7 +425,6 @@ class GaiaServerRequestHandler(BaseHTTPServer.BaseHTTPRequestHandler):
self.end_headers()
return
path = posixpath.normpath(self.path).strip('/')
path = path[len('hub/'):]
file_path = os.path.join(self.server.storage_root, path.strip('/'))