diff --git a/phpBB/docs/CHANGELOG.html b/phpBB/docs/CHANGELOG.html
index eaad188e45..275707cce2 100644
--- a/phpBB/docs/CHANGELOG.html
+++ b/phpBB/docs/CHANGELOG.html
@@ -196,10 +196,11 @@ p a {
[Fix] Proper sync of data on topic copy (Bug #11335)
[Fix] Introduced ORDER BY clauses to converter queries (Bug #10697)
[Fix] added a sync to post counts during conversion (Bug #11421)
- [Fix] Stopped bots from getting added to the registered users group during conversion(Bug #11283)
+ [Fix] Stopped bots from getting added to the registered users group during conversion (Bug #11283)
[Fix] Filled "SMILIEYS_DISABLED" template variable (Bug #11257)
[Fix] Properly escaped the delimiter in disallowed username comparisons (Bug #11339)
[Fix] Check global purge setting (Bug #11555)
+ [Fix] Improper magic url parsing applied to already parsed [url=] bbcode tag (Bug #11429)
diff --git a/phpBB/includes/message_parser.php b/phpBB/includes/message_parser.php
index b8f00d71ee..a593dffec6 100644
--- a/phpBB/includes/message_parser.php
+++ b/phpBB/includes/message_parser.php
@@ -905,7 +905,7 @@ class bbcode_firstpass extends bbcode
$url = append_sid($url);
}
- return ($var1) ? '[url=' . $this->bbcode_specialchars($url) . ':' . $this->bbcode_uid . ']' . $var2 . '[/url:' . $this->bbcode_uid . ']' : '[url:' . $this->bbcode_uid . ']' . $this->bbcode_specialchars($url) . '[/url:' . $this->bbcode_uid . ']';
+ return ($var1) ? '[url=' . $this->bbcode_specialchars($url) . ':' . $this->bbcode_uid . ']' . $this->bbcode_specialchars($var2) . '[/url:' . $this->bbcode_uid . ']' : '[url:' . $this->bbcode_uid . ']' . $this->bbcode_specialchars($url) . '[/url:' . $this->bbcode_uid . ']';
}
return '[url' . (($var1) ? '=' . $var1 : '') . ']' . $var2 . '[/url]';