resourceloader: Don't add "&*" query parameter to load.php urls
authorTimo Tijhof <krinklemail@gmail.com>
Fri, 28 Aug 2015 12:00:58 +0000 (14:00 +0200)
committerTim Starling <tstarling@wikimedia.org>
Tue, 1 Sep 2015 02:16:46 +0000 (02:16 +0000)
commit9d81e0699279a3c426c801649083a16cdfb20d4e
tree5e2939b91f20ebc4955518e53cfc1c272363de00
parent2f3fddb0d9695ff25113c553f87aa0f3ee3832f3
resourceloader: Don't add "&*" query parameter to load.php urls

Follows-up r88883 (8dab43f703). The IEUrlExtension library only considers the
query string if the base path has no extension (or if the dot is urlencoded).
Neither of which is the case for load.php urls.

If the server doesn't expose undecoded request URIs (per IEUrlExtension)
then it will look in the query string always. However even then it is
only an issue if the last query parameter in the url contains a dot,
which is very unlikely for load.php (they typically end in 'skin' or
'version' which don't contain plain dots).

Ref T30840.

Change-Id: I4a4ef7ef5ad7d74ecb47a44342e6324fa9844173
includes/resourceloader/ResourceLoader.php
resources/src/mediawiki/mediawiki.js
tests/phpunit/includes/OutputPageTest.php