Skip to content

fix(web): set Referrer-Policy on auth and recovery routes#216

Open
sergey3bv wants to merge 1 commit into
divinevideo:mainfrom
sergey3bv:fix/auth-referrer-policy
Open

fix(web): set Referrer-Policy on auth and recovery routes#216
sergey3bv wants to merge 1 commit into
divinevideo:mainfrom
sergey3bv:fix/auth-referrer-policy

Conversation

@sergey3bv
Copy link
Copy Markdown
Contributor

Summary

  • Send Referrer-Policy: no-referrer from the unified server for password altering paths;
  • Mirror same logic in hooks.server.ts for local dev parity;
  • Add <meta name="referrer" content="no-referrer"> on related pages for tighter policy;
  • Document routes and rationale in docs/SECURITY.md.

Avoid naming corporate partners, customers, or other sensitive external brands in this PR title or body. Use generic descriptors unless a maintainer explicitly approves the public reference.

Motivation

Related Issue

Testing

  • cargo test --workspace --verbose
  • cargo clippy --workspace --all-targets --all-features -- -D warnings -A deprecated
  • cargo fmt --all -- --check
  • Manual verification completed

Visuals

  • UI/web change with screenshots/video attached
  • No visual change
  • Visuals and text avoid sensitive external brand or partner names unless explicitly approved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(auth): make auth/reset page referrer policy explicit for email hints

1 participant