You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
1 year ago
..
apitype
all: use new LocalAPI client package location
1 year ago
example/ servetls
all: use new LocalAPI client package location
1 year ago
acl.go
client/tailscale: fix Client.BuildURL and Client.BuildTailnetURL ( #15064 )
1 year ago
devices.go
client/tailscale,cmd/k8s-operator,internal/client/tailscale: move VIP service client methods into internal control client
1 year ago
dns.go
client/tailscale,cmd/k8s-operator,internal/client/tailscale: move VIP service client methods into internal control client
1 year ago
keys.go
client/tailscale,cmd/k8s-operator,internal/client/tailscale: move VIP service client methods into internal control client
1 year ago
localclient_aliases.go
client: add missing localclient aliases ( #14921 )
1 year ago
required_version.go
all: switch to and require Go 1.23
2 years ago
routes.go
client/tailscale,cmd/k8s-operator,internal/client/tailscale: move VIP service client methods into internal control client
1 year ago
tailnet.go
client/tailscale,cmd/k8s-operator,internal/client/tailscale: move VIP service client methods into internal control client
1 year ago
tailscale.go
client/tailscale: fix Client.BuildURL and Client.BuildTailnetURL ( #15064 )
1 year ago
tailscale_test.go
client/tailscale: fix Client.BuildURL and Client.BuildTailnetURL ( #15064 )
1 year ago