Files
tailscale/ipn
Patrick O'DohertyandKevinLiang10 69849dd40e ipn/ipnlocal: update getServeHandler path handling on malformed url (#20431) (#20441)
This commit updates the path matching logic in getServeHandler for malformed
request targets like "*" (e.g. "GET *") and "" (e.g. "CONNECT" authority-form).
Those paths never reduce to "/" as absolute path would. An absolute path check
was added and an additional check on no further reduce was added in the loop.

Fixes tailscale/corp#44814


(cherry picked from commit b803ba048c)

Signed-off-by: kevinliang10 <[email protected]>
Signed-off-by: Patrick O'Doherty <[email protected]>
Co-authored-by: KevinLiang10 <[email protected]>
2026-07-13 16:52:07 -07:00
..