aboutsummaryrefslogtreecommitdiffstats
path: root/storage-backend/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'storage-backend/index.php')
-rw-r--r--storage-backend/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage-backend/index.php b/storage-backend/index.php
index 5d70b79..8b5f2b4 100644
--- a/storage-backend/index.php
+++ b/storage-backend/index.php
@@ -90,7 +90,7 @@ switch ($method) {
if (!checkFilenameParameter($filename, $slotParameters)) {
sendHttpReturnCodeAndJson(403, "Uploaded filename differs from requested slot filename.");
}
- $uploadFilePath = getUploadFilePath($slotUUID, $config, $slotParameters['filename']);
+ $uploadFilePath = rawurldecode(getUploadFilePath($slotUUID, $config, $slotParameters['filename']));
if (file_exists($uploadFilePath)) {
sendHttpReturnCodeAndJson(403, "The slot was already used.");
}