#25302: BrokenLinkEmailsMiddleware shouldn't report 404s when Referer = URL
-------------------------------+------------------------------------
Reporter: aaugustin | Owner: mlorant
Type: New feature | Status: new
Component: HTTP handling | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+------------------------------------
Changes (by aaugustin):
* status: closed => new
* resolution: fixed =>
Comment:
I ran 1.9 RC 1 in production for a few days and sadly, the fix doesn't
yield the results I hoped for.
Broken bots are hardcoded to use `http://<domain><url>` as referer.
However Django's check is sensitive to the scheme. Since I run on
`https://...` the condition added to fix this ticket here never triggers.
Would it make sense to also ignore the scheme in the check?
--
Ticket URL: <https://code.djangoproject.com/ticket/25302#comment:7>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/067.77856a710ed81fc8727452ee8d3749b2%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.