Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #17469 -- Prevented a double URL-to-filesystem path translation…

… in the media handler of LiveServerTestCase, which led to infinite redirection loops under Windows and test failures.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17416 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit dcbd5eefd677cb7cb2bcdedab4b7f73173ed82fa 1 parent d8e75f6
Aymeric Augustin authored February 01, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  django/test/testcases.py
2  django/test/testcases.py
@@ -998,7 +998,7 @@ def get_base_url(self):
998 998
         return settings.MEDIA_URL
999 999
 
1000 1000
     def serve(self, request):
1001  
-        return serve(request, self.file_path(request.path),
  1001
+        return serve(request, request.path,
1002 1002
             document_root=self.get_base_dir())
1003 1003
 
1004 1004
 

0 notes on commit dcbd5ee

Please sign in to comment.
Something went wrong with that request. Please try again.