From: Antoine Musso Date: Mon, 1 May 2006 20:22:44 +0000 (+0000) Subject: Fix #361: URL in URL. Final fix ! X-Git-Tag: 1.31.0-rc.0~57282 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=01b0ebc2a09d6398c564196c6c80406b6254be1d;p=lhc%2Fweb%2Fwiklou.git Fix #361: URL in URL. Final fix ! --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 48d60b2104..ef5d8192b5 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -179,6 +179,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * (bug 5780) Thousands and decimal separators for Norwegian * Updated initStats maintenance script * (bug 5767) Fix date formats in Vietnamese locale +* (bug 361) URL in URL, they were almost fixed. Now they are. == Compatibility == diff --git a/includes/Parser.php b/includes/Parser.php index f35f8ec0d6..bc204c51d5 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -1235,7 +1235,7 @@ class Parser preg_match( '/^('.EXT_LINK_URL_CLASS.'+)(.*)$/s', $bits[$i + 1], $m )) { # add protocol, arg - $url .= $bits[$i] . $bits[$i + 1]; # protocol, url as arg to previous link + $url .= $bits[$i] . $m[1]; # protocol, url as arg to previous link $i += 2; $trail = $m[2]; }