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

protect against form re-submissions when page is refreshed #168

Closed
komuw opened this issue Oct 25, 2022 · 1 comment · Fixed by #171
Closed

protect against form re-submissions when page is refreshed #168

komuw opened this issue Oct 25, 2022 · 1 comment · Fixed by #171

Comments

@komuw
Copy link
Owner

komuw commented Oct 25, 2022

I don't know if it should be a library level thing or at app level.

@komuw
Copy link
Owner Author

komuw commented Oct 25, 2022

komuw added a commit that referenced this issue Oct 26, 2022
What:
- Add a middleware that attempts to provides protection against a form re-submission when a user reloads/refreshes an already submitted web page/form.
If such a situation is detected; this middleware will issue a http GET redirect to the same url.

Why:
- Fixes: #168
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

Successfully merging a pull request may close this issue.

1 participant