You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/client
Andrew Lytvynov 2c3338c46b
client/tailscale: fix Client.BuildURL and Client.BuildTailnetURL (#15064)
This method uses `path.Join` to build the URL. Turns out with 1.24 this
started stripping consecutive "/" characters, so "http://..." in baseURL
becomes "http:/...".

Also, `c.Tailnet` is a function that returns `c.tailnet`. Using it as a
path element would encode as a pointer instead of the tailnet name.

Finally, provide a way to prevent escaping of path elements e.g. for `?`
in `acl?details=1`.

Updates #15015

Signed-off-by: Andrew Lytvynov <awly@tailscale.com>
11 months ago
..
local client,localclient: move localclient.go to client/local package 11 months ago
systray all: use new LocalAPI client package location 11 months ago
tailscale client/tailscale: fix Client.BuildURL and Client.BuildTailnetURL (#15064) 11 months ago
web all: use new LocalAPI client package location 11 months ago