Issue Summary

The value set in the Security Kit configuration form is 'empty' while it should be '' as per https://www.w3.org/TR/referrer-policy/#referrer-policies

Proposed Resolution

Change the string 'empty' to '' and update existing values in an update hook.

Comments

malcolm_p created an issue. See original summary.

malcolm_p’s picture

Issue summary: View changes
hey_germano’s picture

Status: Needs work » Needs review
StatusFileSize
new1.22 KB

Good catch! Here's a patch.

hey_germano’s picture

StatusFileSize
new1.22 KB

Oops, borked the last patch, let's try that again.

  • mcdruid committed 7a5d424 on 8.x-1.x authored by hey_germano
    Issue #3059189 by hey_germano, malcolm_p: Referrer-Policy sends...
mcdruid’s picture

Status: Needs review » Fixed

Manually tested the update hook (and made a tiny tweak so that it's consistent).

Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.