Forbid '<', '>', ' ', '\n', '\r' in parser hook names.
authorPlatonides <platonides@users.mediawiki.org>
Tue, 11 Jan 2011 18:38:32 +0000 (18:38 +0000)
committerPlatonides <platonides@users.mediawiki.org>
Tue, 11 Jan 2011 18:38:32 +0000 (18:38 +0000)
commitf1bcac7be1872cb98237d791807c42e25e52bedb
tree4ffeb0f3ac2ba135e0098642a6597790a0c0ce52
parent8f87d873fa04a2b175ac45421e63973102757e64
Forbid '<', '>', ' ', '\n', '\r' in parser hook names.
Registering a tag hook with < or > on its name resulted in a UNIQ marker.
Spaces, tabs or LF do work (CR fails due to the CR->LF transformation),
but it's easier to also forbid them, just as they are not allowed in other
markup languages.
includes/parser/Parser.php