From: skodak Date: Thu, 28 Feb 2008 21:01:02 +0000 (+0000) Subject: MDL-13705 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=15cda9c89ff4ae3ff070d9c0b394eea471ec424f;p=moodle.git MDL-13705 --- diff --git a/lib/kses.php b/lib/kses.php index 578aadfcd0..476f2c380c 100644 --- a/lib/kses.php +++ b/lib/kses.php @@ -471,7 +471,7 @@ function kses_bad_protocol_once($string, $allowed_protocols) { return preg_replace('/^((&[^;]*;|[\sA-Za-z0-9])*)'. '(:|�*58;|&#[Xx]0*3[Aa];)\s*/e', - 'kses_bad_protocol_once2("\\1", $allowed_protocols)', + 'kses_bad_protocol_once2(\'\\1\', $allowed_protocols)', $string); } # function kses_bad_protocol_once