mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/SecureLinkFixer
synced 2024-11-30 18:34:16 +00:00
0509d34225
* Turn HSTSPreloadLookup into a real service, per @todo * Convert Hooks into a non-static class, take lookup as an argument * Update tests for new calling style == Test plan == * CI/tests pass * Use Special:ExpandTemplates with a preloaded domain and localhost, observe preloaded link changes, localhost stays http Bug: T271027 Change-Id: I0196350e85c09eedfba4dbf1dab81f9a757b2a12 |
||
---|---|---|
.phan | ||
i18n | ||
includes | ||
maintenance | ||
tests | ||
.eslintrc.json | ||
.gitignore | ||
.gitreview | ||
.phpcs.xml | ||
CODE_OF_CONDUCT.md | ||
composer.json | ||
COPYING | ||
domains.php | ||
extension.json | ||
Gruntfile.js | ||
package-lock.json | ||
package.json | ||
README |
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/