mirror of
https://github.com/django/django.git
synced 2025-10-27 07:36:08 +00:00
[1.5.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:
@@ -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/$', 'regressiontests.urlpatterns_reverse.views.nested_view'),
|
||||
)
|
||||
|
||||
urlpatterns = patterns('',
|
||||
|
||||
Reference in New Issue
Block a user