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

Prevent head requests triggering run on null #114

Conversation

jamesdb
Copy link
Contributor

@jamesdb jamesdb commented Jul 15, 2024

Resolves #106.

I'm fairly confident that these errors are being triggered by HEAD requests. I've verified this by generating a magiclink in my application, deleting the entry inside magic_links then performing a HEAD request to the deleted magiclink url.

After adjusting the MagiclinkMiddleware so it returns a 200 or 404 based on the validity of the Magiclink, this error no longer occurs. 👍

@jamesdb jamesdb closed this Jan 2, 2025
@jamesdb jamesdb deleted the prevent-head-requests-triggering-run-on-null branch January 2, 2025 13:32
@cesargb
Copy link
Owner

cesargb commented Jan 4, 2025

@jamesdb This PR is good, please allow me to reopen and publish it.

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

Successfully merging this pull request may close these issues.

Call to a member function run() on null
2 participants