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
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>
3 years ago
..
addlicense cmd/addlicense: add command to add licenseheaders to generated code 3 years ago
cloner cmd/cloner: mangle "go:generate" in cloner.go 3 years ago
derper cmd/derper: in manual cert mode, don't discard error from VerifyHostname 3 years ago
derpprobe derp: use new node key type. 3 years ago
hello cmd/hello: also redirect https://hello.ipn.dev to hello.ts.net 3 years ago
mkpkg cmd/mkpkg: allow zero files in a package. 4 years ago
printdep cmd/printdep: add flag to print out Go toolchain tarball URL 3 years ago
speedtest cmd: upgrade to ffcli v3 3 years ago
tailscale cmd/tailscale: use html/template for synoTokenRedirect 3 years ago
tailscaled netcheck,portmapper,magicsock: ignore some UDP write errors on Linux 3 years ago
testcontrol cmd/testcontrol: add test control server 3 years ago
tsshd tsshd: fix double exit with different exit codes 3 years ago