From 15cda9c89ff4ae3ff070d9c0b394eea471ec424f Mon Sep 17 00:00:00 2001 From: skodak Date: Thu, 28 Feb 2008 21:01:02 +0000 Subject: [PATCH] MDL-13705 --- lib/kses.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5