Explorar o código

decoding filenames in download.php as well

Luke Ehresman %!s(int64=25) %!d(string=hai) anos
pai
achega
b019a9b70b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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