Results of 1 - 10 of about 22 for uploaded (0.002 sec.)
- Django 2.2.20 リリースノート 11279
- Django 2.2.20 リリースノート April 6, 2021 Django 2.2.20 fixes a security issue with severity "low" in 2.2.19. CVE-2021-28658: Potential directory-traversal via uploaded files MultiPartParser allowed directory-traversal via uploaded files w
...
-
https://man.mtool.work/django/6.1/releases/2.2.20.html
- Django 2.2.21 リリースノート 11279
- Django 2.2.21 リリースノート May 4, 2021 Django 2.2.21 fixes a security issue in 2.2.20. CVE-2021-31542: Potential directory-traversal via uploaded files MultiPartParser , UploadedFile , and FieldFile allowed directory-traversal via uploaded
...
-
https://man.mtool.work/django/6.1/releases/2.2.21.html
- Django 3.0.14 リリースノート 11279
- Django 3.0.14 リリースノート April 6, 2021 Django 3.0.14 fixes a security issue with severity "low" in 3.0.13. CVE-2021-28658: Potential directory-traversal via uploaded files MultiPartParser allowed directory-traversal via uploaded files w
...
-
https://man.mtool.work/django/6.1/releases/3.0.14.html
- Django 3.1.9 リリースノート 11279
- Django 3.1.9 リリースノート May 4, 2021 Django 3.1.9 fixes a security issue in 3.1.8. CVE-2021-31542: Potential directory-traversal via uploaded files MultiPartParser , UploadedFile , and FieldFile allowed directory-traversal via uploaded f
...
-
https://man.mtool.work/django/6.1/releases/3.1.9.html
- Django 3.1.8 リリースノート 10858
- Django 3.1.8 リリースノート April 6, 2021 Django 3.1.8 fixes a security issue with severity "low" and a bug in 3.1.7. CVE-2021-28658: Potential directory-traversal via uploaded files MultiPartParser allowed directory-traversal via uploaded
...
-
https://man.mtool.work/django/6.1/releases/3.1.8.html
- Django 1.4.14 リリースノート 8989
- Django 1.4.14 リリースノート August 20, 2014 Django 1.4.14 fixes several security issues in 1.4.13. reverse() could generate URLs pointing to other hosts In certain situations, URL reversing could generate scheme-relative URLs (URLs startin
... in its default configuration may degrade to producing a huge number of os.stat() system calls when a duplicate filename is uploaded. Since stat() may invoke IO, this may produce a huge data-dependent slowdown that slowly worsens over time. The net result ... o make a site unavailable. We've remedied the issue by changing the algorithm for generating file names if a file with the uploaded name already exists. Storage.get_available_name now appends an underscore plus a random 7 character alphanumeric string (e ...
-
https://man.mtool.work/django/6.1/releases/1.4.14.html
- Django 1.5.9 リリースノート 8989
- Django 1.5.9 リリースノート August 20, 2014 Django 1.5.9 fixes several security issues in 1.5.8. reverse() could generate URLs pointing to other hosts In certain situations, URL reversing could generate scheme-relative URLs (URLs starting w
... in its default configuration may degrade to producing a huge number of os.stat() system calls when a duplicate filename is uploaded. Since stat() may invoke IO, this may produce a huge data-dependent slowdown that slowly worsens over time. The net result ... o make a site unavailable. We've remedied the issue by changing the algorithm for generating file names if a file with the uploaded name already exists. Storage.get_available_name now appends an underscore plus a random 7 character alphanumeric string (e ...
-
https://man.mtool.work/django/6.1/releases/1.5.9.html
- Django 3.2.1 リリースノート 8838
- Django 3.2.1 リリースノート May 4, 2021 Django 3.2.1 fixes a security issue and several bugs in 3.2. CVE-2021-31542: Potential directory-traversal via uploaded files MultiPartParser , UploadedFile , and FieldFile allowed directory-traversal
... via uploaded files with suitably crafted file names. In order to mitigate this risk, stricter basename and path sanitation is now appli ...
-
https://man.mtool.work/django/6.1/releases/3.2.1.html
- Django 1.6.6 リリースノート 8703
- Django 1.6.6 リリースノート August 20, 2014 Django 1.6.6 fixes several security issues and bugs in 1.6.5. reverse() could generate URLs pointing to other hosts In certain situations, URL reversing could generate scheme-relative URLs (URLs s
... in its default configuration may degrade to producing a huge number of os.stat() system calls when a duplicate filename is uploaded. Since stat() may invoke IO, this may produce a huge data-dependent slowdown that slowly worsens over time. The net result ... o make a site unavailable. We've remedied the issue by changing the algorithm for generating file names if a file with the uploaded name already exists. Storage.get_available_name() now appends an underscore plus a random 7 character alphanumeric string ...
-
https://man.mtool.work/django/6.1/releases/1.6.6.html
- ファイルのアップロード 8417
- ファイルのアップロード Django がファイルアップロードを扱うとき、ファイルデータは request.FILES に格納されます ( request についての詳細は リクエスト/レスポンス オブジェクト を参照してください)。ここでは、ファイルがどのようにディスクとメモリに
... tpResponseRedirect from django.shortcuts import render from .forms import UploadFileForm # Imaginary function to handle an uploaded file. from somewhere import handle_uploaded_file def upload_file ( request ): if request . method == "POST" : form = Uploa ... dFileForm ( request . POST , request . FILES ) if form . is_valid (): handle_uploaded_file ( request . FILES [ "file" ]) return HttpResponseRedirect ( "/success/url/" ) else : form = UploadFileForm () return ... す必要があることに注意してください。 アップロードされたファイルをハンドルする一般的な方法は、次のようになります。 def handle_uploaded_file ( f ): with open ( "some/file/name.txt" , "wb+" ) as destination : for chunk in f . chunks (): destination . write ( ...
-
https://man.mtool.work/django/6.1/topics/http/file-uploads.html