Sanitizer::safeEncodeAttribute(): also encode ]
authorMax Semenik <maxsem.wiki@gmail.com>
Mon, 13 Nov 2017 22:57:23 +0000 (14:57 -0800)
committerFomafix <fomafix@googlemail.com>
Thu, 16 Nov 2017 20:16:37 +0000 (21:16 +0100)
commit061f68e63b57299fccf18b074d22805a641e918d
tree3b5e2420da4a366bcc136be6fff16c4a3d2a6dc5
parent9efe7ab6cffc2d03f27800b111c705bff1133381
Sanitizer::safeEncodeAttribute(): also encode ]

...so that it wouldn't break wikilinks, too.

Bug: T29694
Bug: T51672
Bug: T72875
Change-Id: I189bdefbc9034cf8d221a89d7158195de1c0fa6c
includes/parser/Sanitizer.php
tests/parser/parserTests.txt