Skip to content
Unverified Commit 4b70c9f8 authored by Roeland Jago Douma's avatar Roeland Jago Douma
Browse files

Add referrer policy setup check

Fixes #9122

Based on https://www.w3.org/TR/referrer-policy/ and
https://scotthelme.co.uk/a-new-security-header-referrer-policy/



Setting a sane Referrer-Policy will tell the browser if/when to send
referrer headers when accessing a link from Nextcloud. When configured
properly this results in less tracking and less leaking of (possibly)
sensitive urls

* Fix tests

Signed-off-by: default avatarRoeland Jago Douma <roeland@famdouma.nl>
parent 36d74047
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment