mediawiki-extensions-Echo/tests/phpunit
Erik Bernhardson 2578c37d6c Bug: Fails signature detection with extra long signature
There were two different circumstances that could trigger echo's signature
detection to fail: multibyte characters in signature, and signatures near
$wgMaxSigChars limit that expanded past the limit due to wfEscapeWikiText().

This patch adjusts to use mb_substr to appropriatly handle the multibyte
characters, and adds a couple extra charactesr to $wgMaxSigChars to allow
for wfEscapeWikiText().  This isn't perfect, but a stricter implementation
would require much more work than i think we should spend here.

Bug: 73426
Change-Id: Ic51c2bc2a08600f188db13a9a0537f1321c9a655
2014-12-03 11:33:39 -08:00
..
api Hygiene: Echo/tests/phpunit/ directory structure should mimic Echo/ 2014-08-21 22:58:27 +00:00
controller Hygiene: Move notification type detection to method 2014-08-22 14:05:47 -07:00
formatters Hygiene: Echo/tests/phpunit/ directory structure should mimic Echo/ 2014-08-21 22:58:27 +00:00
includes Bug: Fails signature detection with extra long signature 2014-12-03 11:33:39 -08:00
maintenance Hygiene: Echo/tests/phpunit/ directory structure should mimic Echo/ 2014-08-21 22:58:27 +00:00
model Make timestamp in consistent format after loaded from database 2014-08-22 15:53:51 -07:00