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>
2022-01-13 13:32:45 -08:00
..
addlicense cmd/addlicense: add command to add licenseheaders to generated code 2021-07-19 15:31:56 -07:00
cloner cmd/cloner: mangle "go:generate" in cloner.go 2021-10-16 17:53:43 -07:00
derper cmd/derper: in manual cert mode, don't discard error from VerifyHostname 2022-01-11 08:40:42 -08:00
derpprobe derp: use new node key type. 2021-10-28 16:02:11 -07:00
hello cmd/hello: also redirect https://hello.ipn.dev to hello.ts.net 2022-01-04 19:45:02 -08:00
mkpkg cmd/mkpkg: allow zero files in a package. 2021-06-07 16:22:23 -07:00
printdep cmd/printdep: add flag to print out Go toolchain tarball URL 2022-01-06 08:44:17 -08:00
speedtest cmd: upgrade to ffcli v3 2021-09-14 13:21:55 -07:00
tailscale cmd/tailscale: use html/template for synoTokenRedirect 2022-01-13 13:32:45 -08:00
tailscaled netcheck,portmapper,magicsock: ignore some UDP write errors on Linux 2021-12-31 08:27:21 -08:00
testcontrol cmd/testcontrol: add test control server 2021-08-19 17:50:48 -07:00
tsshd tsshd: fix double exit with different exit codes 2021-11-23 09:19:59 -08:00