1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Fixed a remote code execution vulnerabilty in URL reversing.

Thanks Benjamin Bach for the report and initial patch.

This is a security fix; disclosure to follow shortly.
This commit is contained in:
Tim Graham
2014-04-20 13:12:43 -04:00
parent ab90c4707b
commit 8b93b31487
5 changed files with 49 additions and 1 deletions

View File

@@ -7,6 +7,7 @@ from .views import empty_view, absolute_kwargs_view
other_patterns = [
url(r'non_path_include/$', empty_view, name='non_path_include'),
url(r'nested_path/$', 'urlpatterns_reverse.views.nested_view'),
]
# test deprecated patterns() function. convert to list of urls() in Django 2.0