tailscale/client
Andrew Lytvynov da0a277565
client/web: fail /api/routes requests with empty flags (#19548)
If both ExitNode and AdvertiseRoutes flags are empty, then the request
is invalid and should fail. Previously it would wipe out any existing
values configured for these prefs because of the assumption in the
handler that exactly one of them is set.

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

Signed-off-by: Andrew Lytvynov <awly@tailscale.com>
2026-04-28 11:16:47 -07:00
..
freedesktop cmd/vet: add subtestnames analyzer; fix all existing violations 2026-04-05 15:52:51 -07:00
local net/tsdial, ipn/localapi, client/local: let clients dial non-Tailscale addresses directly 2026-04-27 09:33:27 -07:00
systray client/systray: support several different color themes 2026-04-27 18:54:14 -07:00
tailscale cmd/vet: add subtestnames analyzer; fix all existing violations 2026-04-05 15:52:51 -07:00
web client/web: fail /api/routes requests with empty flags (#19548) 2026-04-28 11:16:47 -07:00