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>
11 months ago
..
promvarz tsweb/promvarz: fix repeated expvar definition in test 1 year ago
varz metrics: add histogram support 11 months ago
debug.go tsweb: relax CSP for debug handlers (#8649) 11 months ago
debug_test.go all: update copyright and license headers 1 year ago
log.go all: update copyright and license headers 1 year ago
tsweb.go tsweb: relax CSP for debug handlers (#8649) 11 months ago
tsweb_test.go tstest: prepare for Clock API changes 11 months ago