mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
Reinstated the line in stripslashes_safe() that removes the slash that escapes a backslash. Martin removed this line in March. Why?
This commit is contained in:
parent
a7ca4cd150
commit
b403c32aa0
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user