]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-13705
authorskodak <skodak>
Thu, 28 Feb 2008 21:01:02 +0000 (21:01 +0000)
committerskodak <skodak>
Thu, 28 Feb 2008 21:01:02 +0000 (21:01 +0000)
lib/kses.php

index 578aadfcd059be39f075661f35a2d2b3be5f0caf..476f2c380ced33aa827ee8da619ad07a2272c4f2 100644 (file)
@@ -471,7 +471,7 @@ function kses_bad_protocol_once($string, $allowed_protocols)
 {
   return preg_replace('/^((&[^;]*;|[\sA-Za-z0-9])*)'.
                       '(:|&#0*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