summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2017-03-14 12:33:15 -0400
committerTim Graham <timograham@gmail.com>2017-04-04 10:17:35 -0400
commit2a9f6ef71b8e23fd267ee2be1be26dde8ab67037 (patch)
tree95aac5cf286342bc3ff623da08017ff0ab30ac98 /tests
parent15eb3b4c03f4a1dc74c3314d57a3ef5b67f383b4 (diff)
[1.10.x] Fixed CVE-2017-7234 -- Fixed open redirect vulnerability in views.static.serve().
This is a security fix.
Diffstat (limited to 'tests')
-rw-r--r--tests/view_tests/tests/test_static.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/view_tests/tests/test_static.py b/tests/view_tests/tests/test_static.py
index 8492ec4547..5e66102a54 100644
--- a/tests/view_tests/tests/test_static.py
+++ b/tests/view_tests/tests/test_static.py
@@ -110,7 +110,7 @@ class StaticTests(SimpleTestCase):
def test_index(self):
response = self.client.get('/%s/' % self.prefix)
- self.assertContains(response, 'Index of /')
+ self.assertContains(response, 'Index of ./')
class StaticHelperTest(StaticTests):