(bug 28840) URLs with dots break because of IE6 security check
authorRoan Kattouw <catrope@users.mediawiki.org>
Thu, 26 May 2011 09:49:45 +0000 (09:49 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Thu, 26 May 2011 09:49:45 +0000 (09:49 +0000)
commit8dab43f7031e44a4e0f86ef64697ab563b3324cc
tree48200e9f12e80a6545f0c005ea6893945ebaa6bb
parent061552c32b332565d270439b058282a48e52c519
(bug 28840) URLs with dots break because of IE6 security check

* Replace the overly paranoid regex with a function that simulates IE6's behavior
* Remove the UA check in isPathInfoBad(), was causing more problems than it was worth
* Revert r87711, going back to using dots for dots in ResourceLoader URLs, instead of exclamation marks
* Append &* to ResourceLoader URLs. * is an illegal character in extensions, and putting it at the end of the URL ensures that both IE6 and our detection function will deem the URL to have no extension (unless something like .html? appears in the query string, but in that case we're screwed no matter what)
includes/OutputPage.php
includes/WebRequest.php
includes/resourceloader/ResourceLoader.php
includes/resourceloader/ResourceLoaderContext.php
resources/mediawiki/mediawiki.js