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/cmd/tailscale/cli
Josh Bleecher Snyder a076aaecc6 cmd/tailscale: use html/template for synoTokenRedirect
The GitHub code scanner flagged this as a security vulnerability.
I don't believe it was, but I couldn't convince myself of it 100%.
Err on the safe side and use html/template to generate the HTML,
with all necessary escaping.

Fixes tailscale/corp#2698

Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
2 years ago
..
auth-redirect.html cmd/tailscale/web: add support for QNAP 3 years ago
bugreport.go cmd/tailscale/cli: add Stdout, Stderr and output through them 3 years ago
cert.go ipn/ipnlocal: fix cert fetching on macOS GUI platforms 2 years ago
cli.go safesocket: add ConnectionStrategy, provide control over fallbacks 3 years ago
cli_test.go cmd/tailscale: let 'tailscale up --reset' do a pref edit 2 years ago
debug.go cmd/tailscale: add debug restun, rebind subcommands 2 years ago
diag.go cmd/tailscale: print more detail in connection failure error message 3 years ago
diag_other.go all: gofmt with Go 1.17 3 years ago
down.go cmd/tailscale/cli: add, use log.Fatalf indirection for js/wasm 3 years ago
file.go cmd/tailscale: make file cp send files via tailscaled localapi 3 years ago
ip.go cmd/tailscale: add ip -1 flag 3 years ago
logout.go cmd/tailscale/cli: add, use log.Fatalf indirection for js/wasm 3 years ago
netcheck.go cmd/tailscale/cli: add, use log.Fatalf indirection for js/wasm 3 years ago
ping.go cmd/tailscale: improve ping error message when logged out 2 years ago
status.go cmd/tailscale: improve ping error message when logged out 2 years ago
up.go cmd/tailscale: let 'tailscale up --reset' do a pref edit 2 years ago
version.go cmd/tailscale/cli: add, use log.Fatalf indirection for js/wasm 3 years ago
web.css cli: web advertise exit node button 3 years ago
web.go cmd/tailscale: use html/template for synoTokenRedirect 2 years ago
web.html cli: web advertise exit node button 3 years ago
web_test.go cmd/tailscale: update web server test copyright 3 years ago