#25971: BrokenLinkEmailsMiddleware shouldn't report 404s when URL = Referer +
"/"
------------------------------+--------------------
Reporter: jribbens | Owner: nobody
Type: Bug | Status: new
Component: Core (Other) | Version: 1.8
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 1 | UI/UX: 0
------------------------------+--------------------
CommonMiddleware with APPEND_SLASH redirects "/foo" to "/foo/".
BrokenLinkEmailsMiddleware goes "omg /foo/ doesn't exist and it was
referred to by /foo, that's an INTERNAL BROKEN LINK!"
This means the "don't alert about links with no referer" check basically
doesn't work at all.
If APPEND_SLASH is set and the referer is the URL with a trailing '/'
removed then BrokenLinkEmailsMiddleware shouldn't send an email.
--
Ticket URL: <https://code.djangoproject.com/ticket/25971>
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/051.2d9e38a085bf1aa1d2cffe70343e0887%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.