cloudflared/quicktunnelauth/session.go
Miguel da Costa Martins Marcelino 0b37a912a2 TUN-10805: Strip authentication data before forwarding requests
To properly secure authorized requests, we need to strip any process-local session and authentication-state cookies before forwarding them. On protected responses, we also enforce `Cache-Control: private, no-store` and `Referrer-Policy: no-referrer` directives, to prevent sensitive data from being cached locally or by intermediaries and to block referrer URLs from leaking across requests.

Response headers and cookies for Public Quick Tunnel are preserved.
2026-09-22 15:13:07 +00:00

197 lines
6.5 KiB