From: Eloy Lafuente Date: Tue, 12 Jan 2010 13:40:56 +0000 (+0000) Subject: MDL-21168 - Support encoded chars in query part of URL. Done in review day, but it... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=2b2acf756358fd51c8d6ea1fe917f7db5da3cd92;p=moodle.git MDL-21168 - Support encoded chars in query part of URL. Done in review day, but it's tested, grrr. Merged from 19_STABLE --- diff --git a/lib/weblib.php b/lib/weblib.php index becb157b50..e51341e8c5 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -1743,14 +1743,14 @@ function convert_urls_into_links(&$text) { } if ($unicoderegexp) { //We can use unicode modifiers - $text = preg_replace('#(?\\1', $text); - $text = preg_replace('#(?\\1', $text); } else { //We cannot use unicode modifiers - $text = preg_replace('#(?\\1', $text); - $text = preg_replace('#(?\\1', $text); }