We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c58c47 commit 65b944fCopy full SHA for 65b944f
bridges/python/tornado/filemanager.py
@@ -274,7 +274,7 @@ def extract(self, request):
274
275
def upload(self, handler):
276
try:
277
- destination = handler.get_body_argument('destination', default='/')
+ destination = handler.get_body_argument('destination', default='/')[1:]
278
for name in handler.request.files:
279
fileinfo = handler.request.files[name][0]
280
filename = fileinfo['filename']
0 commit comments