From 2b2acf756358fd51c8d6ea1fe917f7db5da3cd92 Mon Sep 17 00:00:00 2001 From: Eloy Lafuente Date: Tue, 12 Jan 2010 13:40:56 +0000 Subject: [PATCH] MDL-21168 - Support encoded chars in query part of URL. Done in review day, but it's tested, grrr. Merged from 19_STABLE --- lib/weblib.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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); } -- 2.39.5