tailscale/tsweb
David Anderson ae79b2e784 tsweb: add a helper to validate redirect URLs
We issue redirects in a few different places, it's time to have
a common helper to do target validation.

Updates tailscale/corp#16875

Signed-off-by: David Anderson <danderson@tailscale.com>
2024-01-19 17:57:54 -08:00
..
promvarz tsweb/promvarz: fix repeated expvar definition in test 2023-05-06 09:53:09 -07:00
varz tsweb/varz: fix exporting histograms 2023-09-07 14:52:59 -07:00
debug.go tsweb: use object-src instead of plugin-types (#10719) 2024-01-03 09:00:57 -08:00
debug_test.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
log.go tsweb: propagate RequestID via context and entire request 2023-11-30 15:00:29 -05:00
request_id.go all: make use of ctxkey everywhere (#10846) 2024-01-16 13:56:23 -08:00
tsweb.go tsweb: add a helper to validate redirect URLs 2024-01-19 17:57:54 -08:00
tsweb_test.go tsweb: add a helper to validate redirect URLs 2024-01-19 17:57:54 -08:00