summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--app/df.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/df.php b/app/df.php
index 92dd9dd..3f648ad 100644
--- a/app/df.php
+++ b/app/df.php
@@ -43,7 +43,7 @@ function serveResource(string $uri, ?string $filename = NULL) : void
header("Content-Length: " . filesize($uri));
if ($filename)
- header("Content-Disposition: attachment; filename='" . $filename . "'");
+ header("Content-Disposition: attachment; filename=\"" . $filename . "\"");
fpassthru($f);
fclose($f);