summaryrefslogtreecommitdiffhomepage
path: root/control/controlhttp/controlhttpserver/controlhttpserver.go
diff options
context:
space:
mode:
authorFernando Serboncini <fserb@tailscale.com>2026-04-06 12:52:36 -0400
committerGitHub <noreply@github.com>2026-04-06 12:52:36 -0400
commit58595a6f0db88cc8136d9519408c3a7e36bf7c33 (patch)
tree0817e2511d97ca81dda9403bd06ac6f3062dc8a4 /control/controlhttp/controlhttpserver/controlhttpserver.go
parent4111d4be4b51041191547ad0b8631e3f5e83ac1f (diff)
downloadtailscale-58595a6f0db88cc8136d9519408c3a7e36bf7c33.tar.xz
tailscale-58595a6f0db88cc8136d9519408c3a7e36bf7c33.zip
safeweb: add CSRF token helpers and set cookie path to root (#19265)
Set csrf.Path("/") so the CSRF cookie is available across all routes, not just the path where it was set. Add helpers to expose the gorilla/csrf token for use. Updates #19264 Signed-off-by: Fernando Serboncini <fserb@tailscale.com>
Diffstat (limited to 'control/controlhttp/controlhttpserver/controlhttpserver.go')
0 files changed, 0 insertions, 0 deletions