Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spurious “invalid XSRF token” error on rename of link #156

Open
avidrissman opened this issue Dec 22, 2024 · 1 comment
Open

Spurious “invalid XSRF token” error on rename of link #156

avidrissman opened this issue Dec 22, 2024 · 1 comment
Assignees

Comments

@avidrissman
Copy link

To repro:

  1. Go into any link editing page
  2. Edit the name of the link, not the destination
  3. Click the Update button

This always gives an “invalid XSRF token” error

@offbyone
Copy link

From what I can tell, that's because the save function is only allowing that token to be valid for the .new action, not the shortlink name, which is what would be needed. I'm not sure how to fix that, but I'm looking at it (note: not a Tailscale dev, just trying to read the code)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants