From: fidian Date: Fri, 9 Feb 2001 14:39:38 +0000 (+0000) Subject: * We now escape properly in strings X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=commitdiff_plain;h=6553723cb8b2d2395bb10578c7dc4cc8b47b45a2 * We now escape properly in strings git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1085 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/src/search.php b/src/search.php index 79da86ac..0aad14b7 100644 --- a/src/search.php +++ b/src/search.php @@ -72,8 +72,8 @@ if (!isset($what)) $what = ''; $what_disp = ereg_replace(',', ' ', $what); - $what_disp = str_replace('\\', '\', $what_disp); - $what_disp = str_replace('\"', '"', $what_disp); + $what_disp = str_replace('\\\\', '\\', $what_disp); + $what_disp = str_replace('\\"', '"', $what_disp); $what_disp = str_replace('"', '"', $what_disp); echo " \n"; echo ' ';