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

XSRF token mismatch error when using the "create" form to update a link #160

Open
offbyone opened this issue Jan 21, 2025 · 1 comment
Open
Assignees

Comments

@offbyone
Copy link

If I use the create form on /go/ to update a link that already exists:

Image

Rather than an updated link (my preferred outcome), an intermediate form indicating a collision with an offer to overwrite (probably the right outcome) or an error indicating that the link is duplicated (least ideal), what I instead get is a plain text HTTP response "Invalid XSRF token"

This is sort of related to #130 -- I think it's the same issue, and the users haven't recognized that they are creating duplicates -- and #156, which is about "renaming" a link.

@zofrex zofrex self-assigned this Jan 22, 2025
@zofrex
Copy link

zofrex commented Jan 22, 2025

Easily reproduced locally in dev mode. Looking into it!

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

2 participants