tailscale/safeweb
Andrew Lytvynov 5aa4cfad06
safeweb: detect mux handler conflicts (#11562)
When both muxes match, and one of them is a wildcard "/" pattern (which
is common in browser muxes), choose the more specific pattern.
If both are non-wildcard matches, there is a pattern overlap, so return
an error.

Updates https://github.com/tailscale/corp/issues/8027

Signed-off-by: Andrew Lytvynov <awly@tailscale.com>
2024-03-29 16:07:09 -06:00
..
http.go safeweb: detect mux handler conflicts (#11562) 2024-03-29 16:07:09 -06:00
http_test.go safeweb: detect mux handler conflicts (#11562) 2024-03-29 16:07:09 -06:00