From 6553723cb8b2d2395bb10578c7dc4cc8b47b45a2 Mon Sep 17 00:00:00 2001 From: fidian Date: Fri, 9 Feb 2001 14:39:38 +0000 Subject: [PATCH] * 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 --- src/search.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ' '; -- 2.25.1