From: pdontthink Date: Sat, 1 Aug 2009 19:17:55 +0000 (+0000) Subject: Fix broken regular expression X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=1a4bc4a62fa812d0e0fa8fd48ea804e045bab040;p=squirrelmail.git Fix broken regular expression git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13809 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/functions/mime.php b/functions/mime.php index 2f48c8b4..895335d0 100644 --- a/functions/mime.php +++ b/functions/mime.php @@ -2734,7 +2734,7 @@ function SendDownloadHeaders($type0, $type1, $filename, $force, $filesize=0) { $filename = call_user_func($languages[$squirrelmail_language]['XTRA_CODE'] . '_downloadfilename', $filename, $HTTP_USER_AGENT); } else { - $filename = preg_replace('/[\\\/:*?"<>|;]/', '_', str_replace(' ', ' ', $filename)); + $filename = preg_replace('/[\\\\\/:*?"<>|;]/', '_', str_replace(' ', ' ', $filename)); } // A Pox on Microsoft and it's Internet Explorer!