app: Don't replace "+" with a space char when deleting a file

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
Arksine 2020-12-30 06:41:27 -05:00
parent f9fc679831
commit 223c125106
1 changed files with 1 additions and 1 deletions

View File

@ -329,7 +329,7 @@ class FileRequestHandler(AuthorizedFileHandler):
async def delete(self, path):
path = self.request.path.lstrip("/").split("/", 2)[-1]
path = url_unescape(path)
path = url_unescape(path, plus=False)
file_manager = self.server.lookup_plugin('file_manager')
try:
filename = await file_manager.delete_file(path)