Files
tailscale/ipn
Patrick O'Doherty 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 <kevinliang@tailscale.com>
Signed-off-by: Patrick O'Doherty <patrick@tailscale.com>
Co-authored-by: KevinLiang10 <37811973+KevinLiang10@users.noreply.github.com>
2026-07-13 16:52:07 -07:00
..