diff options
| author | Maxime Lorant <maxime.lorant@gmail.com> | 2015-08-23 20:54:15 +0200 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-08-24 19:35:49 -0400 |
| commit | 4ce433e811763f29c32e0553fe1e0070fd14c6a2 (patch) | |
| tree | 21bf711c2c7f5fe80479dd7edb4e3c52bd1a142f /docs/howto/error-reporting.txt | |
| parent | d3fdaf907db6a5be4d0391532d7e65688c19e851 (diff) | |
Fixed #25302 -- Prevented BrokenLinkEmailsMiddleware from reporting 404s when Referer = URL.
Diffstat (limited to 'docs/howto/error-reporting.txt')
| -rw-r--r-- | docs/howto/error-reporting.txt | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/docs/howto/error-reporting.txt b/docs/howto/error-reporting.txt index be5634e48b..d27f734398 100644 --- a/docs/howto/error-reporting.txt +++ b/docs/howto/error-reporting.txt @@ -61,8 +61,15 @@ not found" errors). Django sends emails about 404 errors when: If those conditions are met, Django will email the users listed in the :setting:`MANAGERS` setting whenever your code raises a 404 and the request has -a referer. (It doesn't bother to email for 404s that don't have a referer -- -those are usually just people typing in broken URLs or broken Web 'bots). +a referer. It doesn't bother to email for 404s that don't have a referer -- +those are usually just people typing in broken URLs or broken Web bots. It also +ignores 404s when the referer is equal to the requested URL, since this +behavior is from broken Web bots too. + +.. versionchanged:: 1.9 + + In older versions, 404s were not ignored when the referer was equal to the + requested URL. .. note:: |
