IEUrlExtension: Add tests for the main use case the lib exists for
authorTimo Tijhof <krinklemail@gmail.com>
Fri, 28 Aug 2015 11:30:31 +0000 (13:30 +0200)
committerTimo Tijhof <krinklemail@gmail.com>
Fri, 28 Aug 2015 11:30:31 +0000 (13:30 +0200)
commit2d9324aa8f586b931673417233c37edc98f5eb94
tree4a6f2957053b55dd445121735d81c9572d46d594
parentfcbf108445e14075f28ff057aed17047046e457b
IEUrlExtension: Add tests for the main use case the lib exists for

There are plenty of tests for the basic behaviour of the extension
detector and how IE favours the extension from the first question mark
segment that has a dot in the next segment.

But it was missing a test for the main use case the library exists
for, which is extensions in query strings when there is a file name
with extension already (but the dot is urlencoded).

Change-Id: I0f2e1387ae42da68020f1d793bb9eb5a87a06f24
tests/phpunit/includes/libs/IEUrlExtensionTest.php