1
0
mirror of https://github.com/django/django.git synced 2025-10-27 15:46:10 +00:00

[1.6.x] 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.

Backport of 8b93b31487 from master
This commit is contained in:
Tim Graham
2014-04-20 13:31:53 -04:00
parent 25adac9b42
commit 4352a50871
5 changed files with 50 additions and 2 deletions

View File

@@ -7,6 +7,7 @@ from .views import empty_view, absolute_kwargs_view
other_patterns = patterns('',
url(r'non_path_include/$', empty_view, name='non_path_include'),
url(r'nested_path/$', 'urlpatterns_reverse.views.nested_view'),
)
urlpatterns = patterns('',