]> source.dussan.org Git - nextcloud-server.git/commit
Allow "same-origin" as "Referrer-Policy" 11950/head
authorMoritz Beck <git@birkenstab.de>
Thu, 11 Oct 2018 11:09:17 +0000 (13:09 +0200)
committerMoritz Beck (Birkenstab) <git@birkenstab.de>
Sat, 20 Oct 2018 10:01:48 +0000 (12:01 +0200)
commitea613a896af1cd06998ec68a31f46701311a8ad0
treeba06aca7ef2745bf0aeb9d659d32b349f062c670
parent76b3bbc4150efae073956fe7f778653c035714ad
Allow "same-origin" as "Referrer-Policy"

Fixes #11531

Although "same-origin" is more strict than e.g. strict-origin it showed up a warning in setupcheck
Based on https://scotthelme.co.uk/a-new-security-header-referrer-policy/

Signed-off-by: Moritz Beck <git@birkenstab.de>
core/js/setupchecks.js
core/js/tests/specs/setupchecksSpec.js