From: Brion Vibber Date: Sat, 11 Sep 2004 22:45:59 +0000 (+0000) Subject: Remove { and } from legal title chars, as they cause lots of weird problems X-Git-Tag: 1.5.0alpha1~2017 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/?a=commitdiff_plain;h=6671b7e2bb5459ec01bfe38859edb30caba47475;p=lhc%2Fweb%2Fwiklou.git Remove { and } from legal title chars, as they cause lots of weird problems being special markup characters. Should not have been added in early 1.3. * Bug 267: Entering {{...}} as the title causes a page rendering error * http://bugzilla.wikipedia.org/show_bug.cgi?id=267 --- diff --git a/includes/Title.php b/includes/Title.php index 6679070f28..b0897da764 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -228,7 +228,7 @@ class Title { # Theoretically 0x80-0x9F of ISO 8859-1 should be disallowed, but # this breaks interlanguage links - $set = " %!\"$&'()*,\\-.\\/0-9:;=?@A-Z\\\\^_`a-z{}~\\x80-\\xFF"; + $set = " %!\"$&'()*,\\-.\\/0-9:;=?@A-Z\\\\^_`a-z~\\x80-\\xFF"; return $set; }