Page MenuHomePhabricator

$wgMaxSigChars can be circumvented by using templates
Closed, DuplicatePublic

Description

As reported at [https://www.mediawiki.org/wiki/Manual:$wgMaxSigChars?diff=568295] the setting introduced on r22960 (to fix bug 8458) do not consider the length of the substituted templates used in the signature, so although {{subst:<Very long template name>}} will be rejected if the template name has more than $wgMaxSigChars (-10) characters, {{subst:Main page}} will work even if the main page is a lot longer than $wgMaxSigChars.

The validation should be fixed to consider the length of the expanded (subst'ed) signature.


Version: unspecified
Severity: normal
URL: https://pt.wikipedia.org/w/index.php?title=Wikip%C3%A9dia:P%C3%A1gina_de_testes/1&diff=31658120&oldid=31657872

Details

Reference
bz38974

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 12:52 AM
bzimport set Reference to bz38974.
bzimport added a subscriber: Unknown Object (MLST).
He7d3r created this task.Aug 2 2012, 12:48 PM
demon added a comment.Aug 2 2012, 12:50 PM
  • This bug has been marked as a duplicate of bug 10715 ***