decoding filenames in download.php as well
authorlkehresman <lkehresman@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 23 Jul 2000 18:32:33 +0000 (18:32 +0000)
committerlkehresman <lkehresman@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 23 Jul 2000 18:32:33 +0000 (18:32 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@626 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/download.php

index 5302bfb193bf0ff23c0587467e4c8938505cc0b6..700396e012e82a3e7904500abbaa3d578ae252fd 100644 (file)
@@ -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