#25302: BrokenLinkEmailsMiddleware shouldn't report 404s when Referer = URL
-----------------------------------------+------------------------
               Reporter:  aaugustin      |          Owner:  nobody
                   Type:  New feature    |         Status:  new
              Component:  HTTP handling  |        Version:  1.8
               Severity:  Normal         |       Keywords:
           Triage Stage:  Unreviewed     |      Has patch:  0
    Needs documentation:  0              |    Needs tests:  0
Patch needs improvement:  0              |  Easy pickings:  0
                  UI/UX:  0              |
-----------------------------------------+------------------------
 Many dubious bots send a Referer header that is equal to the current URL,
 presumably to work around checks for empty Referer headers. Some of these
 bots are also poorly implemented and trigger a stupid amount of 404s.

 BrokenLinkEmailsMiddleware is smart enough not to report 404s without a
 Referer. I suggest to make it not report 404s when the Referer it equal to
 the current URL either.

--
Ticket URL: <https://code.djangoproject.com/ticket/25302>
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/052.455e96535d15516a25c91432204fdfc1%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to