From 1a4bc4a62fa812d0e0fa8fd48ea804e045bab040 Mon Sep 17 00:00:00 2001 From: pdontthink Date: Sat, 1 Aug 2009 19:17:55 +0000 Subject: [PATCH] Fix broken regular expression git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13809 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/mime.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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! -- 2.25.1