Re-enable MediaWiki.Usage.SuperGlobalsUsage.SuperGlobals sniff
authorKunal Mehta <legoktm@member.fsf.org>
Sat, 19 May 2018 21:41:41 +0000 (14:41 -0700)
committerKunal Mehta <legoktm@member.fsf.org>
Sat, 19 May 2018 22:07:25 +0000 (15:07 -0700)
commit06ca92eb8cfa8d24f74a8ab04b94a2178bb1c346
tree2346e691726b886c815d8237cd13bb49c217db5f
parent230958d97c44eee2499e02cb95fd08e8810ac534
Re-enable MediaWiki.Usage.SuperGlobalsUsage.SuperGlobals sniff

Disable it in specific files and places where there are legitimate uses
to access $_GET and $_POST directly.

For EditPage, which wants to output $_POST for debugging information,
introduce WebRequest::getPostValues() as a wrapper, matching the
existing ::getQueryValues().

Change-Id: I2cb0a7012fb7ed29dcd720056b42f56508ddc5fa
.phpcs.xml
includes/AjaxDispatcher.php
includes/EditPage.php
includes/GlobalFunctions.php
includes/WebRequest.php
includes/libs/rdbms/lbfactory/LBFactory.php
tests/qunit/data/load.mock.php
tests/qunit/data/styleTest.css.php
thumb.php