Somebody reported today that the following steps are bad:
- Get a forget password link (cl.com/reset-password/some-token-here)
- Click it
- Load the page
- Click the Twitter or Github links at the bottom of the page
If you do that, you'll leak your URL, including the reset token, to those websites. Not great.
This is easy to fix with rel="noreferrer". Unfortunately we can't use referrer-policy because it messes up CSRF protections in Django.
Somebody reported today that the following steps are bad:
If you do that, you'll leak your URL, including the reset token, to those websites. Not great.
This is easy to fix with
rel="noreferrer". Unfortunately we can't usereferrer-policybecause it messes up CSRF protections in Django.