From b403c32aa0ba6d4d07ea1dbc94f8a69aee6e6e08 Mon Sep 17 00:00:00 2001 From: gustav_delius Date: Mon, 27 Dec 2004 23:40:42 +0000 Subject: [PATCH] Reinstated the line in stripslashes_safe() that removes the slash that escapes a backslash. Martin removed this line in March. Why? --- lib/weblib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/weblib.php b/lib/weblib.php index d20a0862ef..f281860986 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -313,7 +313,7 @@ function stripslashes_safe($string) { $string = str_replace("\\'", "'", $string); $string = str_replace('\\"', '"', $string); - //$string = str_replace('\\\\', '\\', $string); // why? + $string = str_replace('\\\\', '\\', $string); return $string; } -- 2.39.5