Browse Source

decoding filenames in download.php as well

Luke Ehresman 25 years ago
parent
commit
b019a9b70b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/download.php

+ 1 - 1
src/download.php

@@ -65,7 +65,7 @@
 
    $type0 = $header->type0;
    $type1 = $header->type1;
-   $filename = $header->filename;
+   $filename = decodeHeader($header->filename);
 
    if (strlen($filename) < 1) {
       # set some standard suffixes to the filenames if the filename isn't known