diff options
author | Thomas Steur <tsteur@users.noreply.github.com> | 2020-07-23 06:58:00 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-23 06:58:00 +0300 |
commit | 817c48d66f456de83afbbe60c3996dabf99fb605 (patch) | |
tree | 27cad4144e6a0047391a8097ef4d4556b984d08b /plugins/SitesManager/tests | |
parent | 87f6eb59072f958da0ce913870efd5518101914a (diff) |
Set referrer policy on default img tracking code (#16237)
* set referrer policy on default img tracking code
* update screenshot
Diffstat (limited to 'plugins/SitesManager/tests')
3 files changed, 3 insertions, 3 deletions
diff --git a/plugins/SitesManager/tests/System/expected/test_SitesManager_after3_7_0__SitesManager.getImageTrackingCode.xml b/plugins/SitesManager/tests/System/expected/test_SitesManager_after3_7_0__SitesManager.getImageTrackingCode.xml index b2f6990bc7..a4f8633329 100644 --- a/plugins/SitesManager/tests/System/expected/test_SitesManager_after3_7_0__SitesManager.getImageTrackingCode.xml +++ b/plugins/SitesManager/tests/System/expected/test_SitesManager_after3_7_0__SitesManager.getImageTrackingCode.xml @@ -1,4 +1,4 @@ <?xml version="1.0" encoding="utf-8" ?> <result><!-- Matomo Image Tracker--> -<img src="http://http://example.org/piwik/matomo.php?idsite=1&amp;rec=1" style="border:0" alt="" /> +<img referrerpolicy="no-referrer-when-downgrade" src="http://http://example.org/piwik/matomo.php?idsite=1&amp;rec=1" style="border:0" alt="" /> <!-- End Matomo --></result>
\ No newline at end of file diff --git a/plugins/SitesManager/tests/System/expected/test_SitesManager_prior3_7_0__SitesManager.getImageTrackingCode.xml b/plugins/SitesManager/tests/System/expected/test_SitesManager_prior3_7_0__SitesManager.getImageTrackingCode.xml index 5854de6082..86650d8ab1 100644 --- a/plugins/SitesManager/tests/System/expected/test_SitesManager_prior3_7_0__SitesManager.getImageTrackingCode.xml +++ b/plugins/SitesManager/tests/System/expected/test_SitesManager_prior3_7_0__SitesManager.getImageTrackingCode.xml @@ -1,4 +1,4 @@ <?xml version="1.0" encoding="utf-8" ?> <result><!-- Matomo Image Tracker--> -<img src="http://http://example.org/piwik/piwik.php?idsite=1&amp;rec=1" style="border:0" alt="" /> +<img referrerpolicy="no-referrer-when-downgrade" src="http://http://example.org/piwik/piwik.php?idsite=1&amp;rec=1" style="border:0" alt="" /> <!-- End Matomo --></result>
\ No newline at end of file diff --git a/plugins/SitesManager/tests/System/expected/test_SitesManager_prior3_7_0_but_forced__SitesManager.getImageTrackingCode.xml b/plugins/SitesManager/tests/System/expected/test_SitesManager_prior3_7_0_but_forced__SitesManager.getImageTrackingCode.xml index b2f6990bc7..a4f8633329 100644 --- a/plugins/SitesManager/tests/System/expected/test_SitesManager_prior3_7_0_but_forced__SitesManager.getImageTrackingCode.xml +++ b/plugins/SitesManager/tests/System/expected/test_SitesManager_prior3_7_0_but_forced__SitesManager.getImageTrackingCode.xml @@ -1,4 +1,4 @@ <?xml version="1.0" encoding="utf-8" ?> <result><!-- Matomo Image Tracker--> -<img src="http://http://example.org/piwik/matomo.php?idsite=1&amp;rec=1" style="border:0" alt="" /> +<img referrerpolicy="no-referrer-when-downgrade" src="http://http://example.org/piwik/matomo.php?idsite=1&amp;rec=1" style="border:0" alt="" /> <!-- End Matomo --></result>
\ No newline at end of file |