webzod
account

Stop sending full URLs to other sites on Apache

headers.referrer.leaky · effort: minutes

Why it matters

unsafe-url sends the full address of the page, including path and query string, to every site it links to or loads from, and no-referrer-when-downgrade does the same for every https site. Those addresses can carry search terms, account IDs or reset tokens.

The fix

  1. Change the Referrer-Policy line, removing a copy the application sends from the default table, and reload.
apache
Header onsuccess unset Referrer-Policy
Header always set Referrer-Policy "strict-origin-when-cross-origin"

Read the documentation (opens in a new tab)

Scan your domain to see whether this applies to you.