per page, with , order by , clip by
Results of 1 - 10 of about 30 for bytes (0.004 sec.)
Django 6.0.7 release notes 14020
Django 6.0.7 release notes July 7, 2026 Django 6.0.7 fixes three security issues with severity "low" and one bug in 6.0.6. CVE-2026-48588: Potential exposure of private data via cached Set-Cookie response UpdateCacheMiddleware and cache_pag ... o the Django security policy . CVE-2026-53877: Heap buffer over-read in GDALRaster When GDALRaster was instantiated with a bytes object representing a raster file, the vsi_buffer property could over-read the allocated buffer by approximately 32 bytes. ... policy . バグ修正 Fixed a regression in Django 6.0 where the PBKDF2 and MD5 password hashers raised UnicodeDecodeError for bytes passwords that were not valid UTF-8. Passwords supplied as str or as UTF-8 bytes are unaffected ( #37184 ). ...
https://man.mtool.work/django/6.1/releases/6.0.7.html
Django 5.2.18 release notes 10852
Django 5.2.18 release notes October 6, 2026 Django 5.2.18 fixes one security issue with severity "low", three security issues with severity "moderate", and provides a fix for an insufficient security mitigation in 5.2.17. It also fixes one ... VE-2026-87890: Potential request forgery via spatial lookup byte values Spatial lookups accepted raster values provided as bytes without requiring them to be explicitly wrapped in GDALRaster . Although these values were opened through GDAL's in-memory ... ngo process user while preparing the lookup. This issue could be exploited by applications that passed attacker-controlled bytes directly to a spatial lookup. It was overlooked in the fix for CVE-2026-15307. To mitigate this issue, raster values provi ... ded as bytes must now be wrapped in GDALRaster before being used in spatial lookups. Byte values representing valid hexadecimal geometr ...
https://man.mtool.work/django/6.1/releases/5.2.18.html
Django 6.0.9 release notes 10852
Django 6.0.9 release notes October 6, 2026 Django 6.0.9 fixes one security issue with severity "low", three security issues with severity "moderate", and provides a fix for an insufficient security mitigation in 6.0.8. It also fixes one dat ... VE-2026-87890: Potential request forgery via spatial lookup byte values Spatial lookups accepted raster values provided as bytes without requiring them to be explicitly wrapped in GDALRaster . Although these values were opened through GDAL's in-memory ... ngo process user while preparing the lookup. This issue could be exploited by applications that passed attacker-controlled bytes directly to a spatial lookup. It was overlooked in the fix for CVE-2026-15307. To mitigate this issue, raster values provi ... ded as bytes must now be wrapped in GDALRaster before being used in spatial lookups. Byte values representing valid hexadecimal geometr ...
https://man.mtool.work/django/6.1/releases/6.0.9.html
Django 5.2.16 release notes 10527
Django 5.2.16 release notes July 7, 2026 Django 5.2.16 fixes three security issues with severity "low" in 5.2.15. CVE-2026-48588: Potential exposure of private data via cached Set-Cookie response UpdateCacheMiddleware and cache_page() avoid ... o the Django security policy . CVE-2026-53877: Heap buffer over-read in GDALRaster When GDALRaster was instantiated with a bytes object representing a raster file, the vsi_buffer property could over-read the allocated buffer by approximately 32 bytes. ...
https://man.mtool.work/django/6.1/releases/5.2.16.html
Django 6.1.2 release notes 10218
Django 6.1.2 release notes October 6, 2026 Django 6.1.2 fixes one security issue with severity "low", three security issues with severity "moderate", and provides a fix for an insufficient security mitigation in 6.1. It also fixes one data ... VE-2026-87890: Potential request forgery via spatial lookup byte values Spatial lookups accepted raster values provided as bytes without requiring them to be explicitly wrapped in GDALRaster . Although these values were opened through GDAL's in-memory ... ngo process user while preparing the lookup. This issue could be exploited by applications that passed attacker-controlled bytes directly to a spatial lookup. It was overlooked in the fix for CVE-2026-15307. To mitigate this issue, raster values provi ... ded as bytes must now be wrapped in GDALRaster before being used in spatial lookups. Byte values representing valid hexadecimal geometr ...
https://man.mtool.work/django/6.1/releases/6.1.2.html
Django のセキュリティポリシー 9260
Django のセキュリティポリシー Django の開発チームは、セキュリティ関連の問題の責任ある報告と開示に強くコミットしています。そのため、私たちはその理想に従い、公式の Django ディストリビューション、およびサードパーティのディストリビューションにタ ... go) for Django to be the direct HTTP endpoint when RemoteUserMiddleware is used. Request headers and URLs must be under 8K bytes To prevent denial-of-service (DoS) attacks, production-grade servers impose limits on request header and URL sizes. For ex ... ample, by default Gunicorn allows up to roughly: 4k bytes for a URL 8K bytes for a request header Other web servers, such as Nginx and Apache, have similar restrictions to prevent ... mption. Consequently, the Django security team will not consider reports that rely on request headers or URLs exceeding 8K bytes, as such inputs are already mitigated at the server level in production environments. runserver should never be used in pr ...
https://man.mtool.work/django/6.1/internals/security.html
GDAL API 9260
GDAL API 概要 GDAL stands for Geospatial Data Abstraction Library , and is a veritable "Swiss army knife" of GIS data functionality. A subset of GDAL is the OGR Simple Features Library, which specializes in reading and writing vector geogra ... [5, 2, 3, 5], [5, 2, 3, 5], [5, 5, 5, 5]], dtype=uint8) >>> rst_file = open ( "/path/to/your/raster.tif" , "rb" ) >>> rst_bytes = rst_file . read () >>> rst = GDALRaster ( rst_bytes ) >>> rst . is_vsi_based True >>> rst . name # Stored in a random pa ... EFAULT" : { "OWNER" : None , "VERSION" : "2.0" }} >>> rst . metadata {'DEFAULT': {'VERSION': '2.0'}} vsi_buffer [ソース] A bytes representation of this raster. Returns None for rasters that are not stored in GDAL's in-memory virtual filesystem. is_vsi ... ージからバッファとして取得されたり、ディスクに書き込まれることなくビューから返されたりするようなWebコンテキストで便利です。 bytes オブジェクトが入力として提供されるか、ファイルパスが /vsimem/ で始まる場合、仮想ファイルシステム内に GDALRaster オブジェク ...
https://man.mtool.work/django/6.1/ref/contrib/gis/gdal.html
アップロードファイルとアップロードハンドラ 7993
アップロードファイルとアップロードハンドラ アップロードファイル class UploadedFile [ソース] ファイルアップロード中、実際のファイルデータは request.FILES に保存されます。この辞書の各エントリーは UploadedFile オブジェクト(またはそのサブクラス ... ンクのサイズをコントロールします。 パフォーマンスを最大限にするために、チャンクサイズは 4 で割り切れる必要があり、2 GB (2 31 bytes) を超えてはいけません。 複数のハンドラによってチャンクサイズが複数ある場合、Django はハンドラで定義された最小のチャンクサイ ... ズを使用します。 デフォルトは 64*2 10 bytes、つまり 64 KB です。 FileUploadHandler. new_file ( field_name , file_name , content_type , content_length , charset , conte ...
https://man.mtool.work/django/6.1/ref/files/uploads.html
メールを送信する 7846
メールを送信する Django provides wrappers for Python's email and smtplib modules to simplify composing and sending email. Django's email framework also supports swapping in different delivery mechanisms: you can direct email to the console ... ge import MIMEPart from django.core.mail import EmailMultiAlternatives message = EmailMultiAlternatives ( ... ) image_data_bytes = ... # Load image as bytes # Create a random Content-ID, including angle brackets cid = email . utils . make_msgid () inl ... ine_image = email . message . MIMEPart () inline_image . set_content ( image_data_bytes , maintype = "image" , subtype = "png" , # or "jpeg", etc. depending on the image type disposition = "inline" , cid = cid ...
https://man.mtool.work/django/6.1/topics/email.html
File オブジェクト 7684
File オブジェクト django.core.files モジュールとそのサブモジュールでは、Django の基本的なファイルハンドリングに関するビルトインクラスが定義されています。 File クラス class File ( file_object , name = None ) [ソース] The File class is a thin ... jango.core.files.base import ContentFile f1 = ContentFile ( "esta frase está en español" ) f2 = ContentFile ( b "these are bytes" ) ImageFile クラス class ImageFile ( file_object , name = None ) [ソース] Django には画像専用の組み込みクラスがあります。 ...
https://man.mtool.work/django/6.1/ref/files/file.html
PREV 1 2 3 NEXT