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/tsweb
Andrew Lytvynov 7c04846eac
tsweb: relax CSP for debug handlers (#8649)
Allow inline CSS for debug handlers to make prototyping easier. These
are generally not accessible to the public and the small risk of CSS
injection via user content seems acceptable.

Also allow form submissions on the same domain, instead of banning all
forms. An example of such form is
http://webhooks.corp.ts.net:6359/debug/private-nodes/

Updates #3576

Signed-off-by: Andrew Lytvynov <awly@tailscale.com>
1 year ago
..
promvarz tsweb/promvarz: fix repeated expvar definition in test 2 years ago
varz metrics: add histogram support 1 year ago
debug.go tsweb: relax CSP for debug handlers (#8649) 1 year ago
debug_test.go all: update copyright and license headers 2 years ago
log.go all: update copyright and license headers 2 years ago
tsweb.go tsweb: relax CSP for debug handlers (#8649) 1 year ago
tsweb_test.go tstest: prepare for Clock API changes 1 year ago