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/client/web
Will Norris 37eab31f68 client/web: simply csrf key caching in cgi mode
Instead of trying to use the user config dir, and then fail back to the
OS temp dir, just always use the temp dir. Also use a filename that is
less likely to cause collisions.

This addresses an issue on a test synology instance that was
mysteriously failing because there was a file at /tmp/tailscale. We
could still technically run into this issue if a
/tmp/tailscale-web-csrf.key file exists, but that seems far less likely.

Updates tailscale/corp#13775

Signed-off-by: Will Norris <will@tailscale.com>
1 year ago
..
build client/web: always use new web client; remove old client 1 year ago
src client/web: pipe unraid csrf token through apiFetch 1 year ago
dev.go client/web: add barebones vite dev setup 1 year ago
index.html client/web: always use new web client; remove old client 1 year ago
package.json client/web: add csrf protection to web client api 1 year ago
postcss.config.js client/web: add tailwind styling to react app 1 year ago
qnap.go client/web: enforce full path for CGI platforms 1 year ago
synology.go client/web: enforce full path for CGI platforms 1 year ago
tailwind.config.js client/web: add tailwind styling to react app 1 year ago
tsconfig.json client/web: add tsconfig.json 1 year ago
vite.config.ts client/web: enforce full path for CGI platforms 1 year ago
web.go client/web: simply csrf key caching in cgi mode 1 year ago
web_test.go client/web: fix data race 1 year ago
yarn.lock client/web: add csrf protection to web client api 1 year ago