wiki.techinc.nl/tests
Timo Tijhof d753e330a2 OutputPage: Ignore protocol-relative urls in transformResourcePath()
transformResourcePath is only supposed to be called with something
that starts with a '/' (absolute path from document root).

While the primary caller (CSSMin) only calls this method if the path
makes sense as a local file path, ResourceLoaderSkinModule did not,
and wgLogo may be set to a full url that includes a domain.

While chance made it so that protocol-including urls were already
discarded, protocol-relative urls were mistaken for being a path
inside the file system root with a duplicate slash (e.g.
'//tmp/foo.txt', as 'foo.txt' in /fmp, instead of '/foo.txt' at
http://tmp).

This should be fixed upstream in the wikimedia/relpath library,
but workaround it for now since it really shouldn't be called
with urls in the first place.

Bug: T155310
Change-Id: I9b063f1219ddeca5cc2c8a48832cdf8c9eaffe58
2017-01-18 18:15:01 +00:00
..
browser Run tests from MediaWiki-Vagrant virtual machine headlessly 2016-09-07 19:32:21 +02:00
common Remove unused imports from test classes 2017-01-10 11:49:58 +01:00
integration/includes/http Add integration test for MWHttpRequest user/pass options 2016-12-03 23:36:09 +00:00
parser Additional test for {{PAGELANGUAGE}} magic word 2017-01-07 11:28:12 +00:00
phan phan: Don't hardcode 'php7.0' binary 2017-01-11 14:27:58 -08:00
phpunit OutputPage: Ignore protocol-relative urls in transformResourcePath() 2017-01-18 18:15:01 +00:00
qunit jquery.accessKeyLabel: correct accesskey for MacOS Firefox >= 14 2017-01-09 15:02:52 -08:00
.gitignore
.htaccess