Go to file
Kunal Mehta f0ed5222ff Refactor out a HSTSPreloadLookup class plus tests
Makes it much easier to write tests, and do potential further
refactoring.

Change-Id: I072951bb2bc87639e076d03c233f7283c0b175ff
2018-08-01 21:23:49 -07:00
i18n Initial commit 2018-07-29 19:01:06 -07:00
includes Refactor out a HSTSPreloadLookup class plus tests 2018-08-01 21:23:49 -07:00
maintenance Initial commit 2018-07-29 19:01:06 -07:00
tests Refactor out a HSTSPreloadLookup class plus tests 2018-08-01 21:23:49 -07:00
.gitignore Initial commit 2018-07-29 19:01:06 -07:00
.gitreview Add .gitreview 2018-07-28 01:34:16 +02:00
.phpcs.xml Initial commit 2018-07-29 19:01:06 -07:00
CODE_OF_CONDUCT.md Initial commit 2018-07-29 19:01:06 -07:00
composer.json Initial commit 2018-07-29 19:01:06 -07:00
COPYING Initial commit 2018-07-29 19:01:06 -07:00
domains.php Initial commit 2018-07-29 19:01:06 -07:00
extension.json Initial commit 2018-07-29 19:01:06 -07:00
Gruntfile.js Initial commit 2018-07-29 19:01:06 -07:00
package.json Initial commit 2018-07-29 19:01:06 -07:00
README Initial commit 2018-07-29 19:01:06 -07:00

SecureLinkFixer

This MediaWiki extension rewrites external links to use the HTTPS protocol
if they are on the HSTS preload list.

While users with modern browsers will automatically use HTTPS, outdated
browsers or non-browser clients will first try visiting HTTP before being
redirected to HTTPS.

This extension is licensed under the GPL v3, or any later version. The HSTS
list included with this extension (domains.php) is licensed under the
Mozilla Public License, v 2.0.

Further reading/motivations:
* https://twitter.com/ajhdock/status/970669975861153792
* https://www.facebook.com/notes/protect-the-graph/upgrades-to-facebooks-link-security/2015650322008442/