summaryrefslogtreecommitdiff
path: root/django/__init__.py
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2016-03-04 23:33:35 +0100
committerClaude Paroz <claude@2xlibre.net>2016-03-04 23:38:32 +0100
commit9c195d45a64b0d2baee218e617ca3a762efc0bf5 (patch)
tree2cf937e60f38926b32122b7244c44fba3a1f9c90 /django/__init__.py
parent78f48300567b816b3c8177c33bef1a3ea6b36987 (diff)
[1.9.x] 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. Refs 24fc935218 and ada7a4aef. Backport of 552f03869e from master.
Diffstat (limited to 'django/__init__.py')
0 files changed, 0 insertions, 0 deletions