diff options
author | Christian Schmidt <github@chsc.dk> | 2018-07-25 22:47:29 +0300 |
---|---|---|
committer | diosmosis <diosmosis@users.noreply.github.com> | 2018-07-25 22:47:29 +0300 |
commit | e09383ebeedd6b6f8dee8b57373027b00e6203b5 (patch) | |
tree | 3d0faed73ba8629a52a000147b99396239cdd0ba /plugins/Marketplace/templates/overview.twig | |
parent | ef9c48cc48587776107b1500dc14eef3ffa19154 (diff) |
Replace proxy redirect with rel=noreferrer (#12780)
* Replace proxy redirect with rel=noreferrer
* Add noopener
* Restore action=redirect for non-Matomo links
* Wrap referring URLs
* NO target on download link
* Fix Github links
* Fix whitespace
* Fix tests
* Revert change
* Revert changes
* Fix tests
* Add noreferrer shim for MSIE 10
* Remove all action=redirect links
* Restore noreferrer
* Restore test
* Fix one more occurrence
* Update changelog
* Combine if's
* Fix changelog wording
* Fix stray whitespace
Diffstat (limited to 'plugins/Marketplace/templates/overview.twig')
-rw-r--r-- | plugins/Marketplace/templates/overview.twig | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/Marketplace/templates/overview.twig b/plugins/Marketplace/templates/overview.twig index 7237fdb914..a8a0a2031b 100644 --- a/plugins/Marketplace/templates/overview.twig +++ b/plugins/Marketplace/templates/overview.twig @@ -70,16 +70,16 @@ {% include '@Marketplace/plugin-list.twig' %} <div class="footer-message center"> - {{ 'Marketplace_DevelopersLearnHowToDevelopPlugins'|translate('<a href="?module=Proxy&action=redirect&url=https://developer.matomo.org/develop" target="_blank">', '</a>')|raw }} + {{ 'Marketplace_DevelopersLearnHowToDevelopPlugins'|translate('<a target="_blank" rel="noreferrer noopener" href="https://developer.matomo.org/develop">', '</a>')|raw }} <br /> <br /> <br /> - <a rel="noreferrer" href="https://shop.matomo.org/faq/" target="_blank">FAQ</a> | - <a rel="noreferrer" href="https://shop.matomo.org/terms-conditions/" target="_blank">Terms</a> | - <a rel="noreferrer" href="https://matomo.org/privacy-policy/" target="_blank">Privacy</a> | - <a rel="noreferrer" href="https://matomo.org/contact/" target="_blank">Contact</a> + <a rel="noreferrer noopener" href="https://shop.matomo.org/faq/" target="_blank">FAQ</a> | + <a rel="noreferrer noopener" href="https://shop.matomo.org/terms-conditions/" target="_blank">Terms</a> | + <a rel="noreferrer noopener" href="https://matomo.org/privacy-policy/" target="_blank">Privacy</a> | + <a rel="noreferrer noopener" href="https://matomo.org/contact/" target="_blank">Contact</a> </div> </div> -{% endblock %}
\ No newline at end of file +{% endblock %} |