mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Added safety to URL decoding in is_safe_url() on Python 2
The errors='replace' parameter to force_text altered the URL before checking it, which wasn't considered sane. Refs24fc935218andada7a4aef.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
Django 1.8.11 release notes
|
||||
===========================
|
||||
|
||||
*March 4, 2016*
|
||||
*March 5, 2016*
|
||||
|
||||
Django 1.8.11 fixes a regression on Python 2 in the 1.8.10 security release
|
||||
where ``utils.http.is_safe_url()`` crashes on bytestring URLs (:ticket:`26308`).
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
Django 1.9.4 release notes
|
||||
==========================
|
||||
|
||||
*March 4, 2016*
|
||||
*March 5, 2016*
|
||||
|
||||
Django 1.9.4 fixes a regression on Python 2 in the 1.9.3 security release
|
||||
where ``utils.http.is_safe_url()`` crashes on bytestring URLs (:ticket:`26308`).
|
||||
|
||||
Reference in New Issue
Block a user