1
0
mirror of https://github.com/django/django.git synced 2025-10-29 00:26:07 +00:00

[3.2.x] Fixed CVE-2021-28658 -- Fixed potential directory-traversal via uploaded files.

Thanks Claude Paroz for the initial patch.
Thanks Dennis Brinkrolf for the report.

Backport of d4d800ca1a from main.
This commit is contained in:
Mariusz Felisiak
2021-03-16 10:19:00 +01:00
parent eb7c0a7076
commit 2820fd1be5
9 changed files with 159 additions and 23 deletions

View File

@@ -4,6 +4,7 @@ from . import views
urlpatterns = [
path('upload/', views.file_upload_view),
path('upload_traversal/', views.file_upload_traversal_view),
path('verify/', views.file_upload_view_verify),
path('unicode_name/', views.file_upload_unicode_name),
path('echo/', views.file_upload_echo),