... ition header have also been removed as they were found to have similar issues. Malformed redirect URLs from user input not correctly validated The validation for redirects did not correctly validate some malformed URLs, which are accepted by some browsers ... the user to an "on success" URL. The security checks for these redirects (namely django.utils.http.is_safe_url() ) did not correctly validate some malformed URLs, such as http:\\\\\\djangoproject.com , which are accepted by some browsers with more liberal ... URL parsing. To remedy this, the validation in is_safe_url() has been tightened to be able to handle and correctly validate these malformed URLs. ... ... ition header have also been removed as they were found to have similar issues. Malformed redirect URLs from user input not correctly validated The validation for redirects did not correctly validate some malformed URLs, which are accepted by some browsers ... the user to an "on success" URL. The security checks for these redirects (namely django.utils.http.is_safe_url() ) did not correctly validate some malformed URLs, such as http:\\\\\\djangoproject.com , which are accepted by some browsers with more liberal ... URL parsing. To remedy this, the validation in is_safe_url() has been tightened to be able to handle and correctly validate these malformed URLs. ... ... eader have also been removed as they were found to have similar issues. Issue: Malformed redirect URLs from user input not correctly validated The validation for redirects did not correctly validate some malformed URLs, which are accepted by some browsers ... the user to an "on success" URL. The security checks for these redirects (namely django.utils.http.is_safe_url() ) did not correctly validate some malformed URLs, such as http:\\\\\\djangoproject.com , which are accepted by some browsers with more liberal ... URL parsing. To remedy this, the validation in is_safe_url() has been tightened to be able to handle and correctly validate these malformed URLs. バグ修正 Made the year_lookup_bounds_for_datetime_field Oracle backend method Python 3 comp ... ... s displaying model fields and model attributes. While the former were correctly escaped, the latter were not. Thus untrusted content could be injected into the admin, presenting an exploitation vector f ... g. a property ) will fail to be escaped even if that attribute is not marked as safe. In this release, autoescaping is now correctly applied. バグ修正 Fixed crash when coercing ManyRelatedManager to a string ( #24352 ). Fixed a bug that prevented migratio ... ... lity, {% debug %} no longer outputs information when the DEBUG setting is False , and it ensures all context variables are correctly escaped when the DEBUG setting is True . CVE-2022-23833: Denial-of-service possibility in file uploads Passing certain inp ... ... lity, {% debug %} no longer outputs information when the DEBUG setting is False , and it ensures all context variables are correctly escaped when the DEBUG setting is True . CVE-2022-23833: Denial-of-service possibility in file uploads Passing certain inp ... ... S, django.http.HttpRequest.scheme would incorrectly detect client requests made via HTTP as using HTTPS. This entails incorrect results for is_secure() , and build_absolute_u ... reverse-proxy that forwards HTTP requests, and that connects to Django via HTTPS, be sure to verify that your application correctly handles code paths relying on scheme , is_secure() , build_absolute_uri() , and SECURE_SSL_REDIRECT . ... ... jango.http.HttpRequest.scheme would incorrectly detect client requests made via HTTP as using HTTPS. This entails incorrect results for is_secure() , and build_absolute_u ... reverse-proxy that forwards HTTP requests, and that connects to Django via HTTPS, be sure to verify that your application correctly handles code paths relying on scheme , is_secure() , build_absolute_uri() , and SECURE_SSL_REDIRECT . ... ... dWidget were not properly URL encoded, posing an XSS attack vector. ForeignKeyRawIdWidget now ensures query parameters are correctly URL encoded. バグ修正 Fixed a regression in Django 2.2.12 that affected translation loading for apps providing translation ... ... xed a regression in Django 3.1 where the QuerySet.ordered attribute returned incorrectly True for GROUP BY queries (e.g. .annotate().values() ) on models with Meta.ordering . A model's Meta.ordering doesn't affe ... 2026年10月08日