Skip to content
Commit 9c195d45 authored by Claude Paroz's avatar Claude Paroz
Browse files

[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 24fc9352 and ada7a4ae.
Backport of 552f0386 from master.
parent 78f48300
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment