Skip to content
Snippets Groups Projects
Commit 5fd97208 authored by m431m's avatar m431m :speech_balloon:
Browse files

Fixed TypeError

parent a902b701
No related branches found
No related tags found
No related merge requests found
...@@ -994,7 +994,7 @@ class MRA(object): ...@@ -994,7 +994,7 @@ class MRA(object):
# full_path = os.path.realpath(os.path.join(root, *args)) # full_path = os.path.realpath(os.path.join(root, *args))
full_path = os.path.join(root, *args) full_path = os.path.join(root, *args)
if not full_path.startswith(os.path.realpath(root)): if not full_path.startswith(os.path.realpath(root)):
raise webapp.Forbidden(message="Path \"%s\" outside root directory." % (args)) raise webapp.Forbidden("Path \"%s\" outside root directory." % full_path)
return full_path return full_path
def mk_path(self, path): def mk_path(self, path):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment