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

POST and GET for /to/<username> should be hosted on the same endpoint to allow for form resubmits #584

Open
brassy-endomorph opened this issue Sep 13, 2024 · 0 comments

Comments

@brassy-endomorph
Copy link
Collaborator

Is your feature request related to a problem? Please describe.

When a user submits a form, if the GET and POST are in the same endpoint, failed input can be recycled when the page is re-rendered so that they don't have to type things again. Currently this endpoint stores the answer to the captcha in the session, so if multiple tabs are open, only one will correctly submit.

Describe the solution you'd like

Merge the two endpoints and use if/else on the request.method

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

1 participant