From 00da60e932967b691d61b3d6af5365c9e1619b62 Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Tue, 16 Aug 2005 00:47:53 +0000 Subject: [PATCH] Removed special-case test for '_files' URL in common middleware -- thanks, Jeremy Dunck git-svn-id: http://code.djangoproject.com/svn/django/trunk@513 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/middleware/common.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/django/middleware/common.py b/django/middleware/common.py index aed742925b..75af3d07b7 100644 --- a/django/middleware/common.py +++ b/django/middleware/common.py @@ -98,7 +98,4 @@ def _is_ignorable_404(uri): for end in settings.IGNORABLE_404_ENDS: if uri.endswith(end): return True - if '_files' in uri: - # URI is probably from a locally-saved copy of the page. - return True return False