Ver código fonte

decoding filenames in download.php as well

Luke Ehresman 25 anos atrás
pai
commit
b019a9b70b
1 arquivos alterados com 1 adições e 1 exclusões
  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