diff --git a/services/webapp/code/rosetta/core_app/api.py b/services/webapp/code/rosetta/core_app/api.py index 7901d79756b5311f0e039f2c58c0eacef0e9a396..c0373cc9275dedad066118ccfa1b3765cc192dec 100644 --- a/services/webapp/code/rosetta/core_app/api.py +++ b/services/webapp/code/rosetta/core_app/api.py @@ -1064,6 +1064,10 @@ class FileManagerAPI(PrivateGETAPI, PrivatePOSTAPI): # Set support vars storage = self.get_storage_from_path(path, request) path = '/'+'/'.join(path.split('/')[2:]) + + # Bug workaround? + if not path.endswith('/'): + path += '/' # Get the file upload file_upload = request.FILES['files']