diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2018-06-02 21:29:36 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-06-04 09:21:35 +0200 |
commit | 4b70c9f89d10a3bcf96d8fa349c8fa80baa4d3de (patch) | |
tree | 1d1e01d8c790f5df33016ab70c9fa338c1a6bd36 /apps/files/js/filesummary.js | |
parent | 36d74047f7ead966438ae7958ca7d7f816860515 (diff) | |
download | nextcloud-server-4b70c9f89d10a3bcf96d8fa349c8fa80baa4d3de.tar.gz nextcloud-server-4b70c9f89d10a3bcf96d8fa349c8fa80baa4d3de.zip |
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: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/files/js/filesummary.js')
0 files changed, 0 insertions, 0 deletions