Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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
@aaugustin aaugustin authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/test/testcases.py
View
2  django/test/testcases.py
@@ -998,7 +998,7 @@ def get_base_url(self):
return settings.MEDIA_URL
def serve(self, request):
- return serve(request, self.file_path(request.path),
+ return serve(request, request.path,
document_root=self.get_base_dir())
Please sign in to comment.
Something went wrong with that request. Please try again.