mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-05-10 12:24:05 +08:00
include multiple '/'s in gaia read path, if given
This commit is contained in:
@@ -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('/'))
|
||||
|
||||
Reference in New Issue
Block a user