Commit 0f295619 authored by Tristan Berger's avatar Tristan Berger Committed by Fedor Indutny
Browse files

querystring: fix unescape override



Documentation states that `querystring.unescape` may be overridden to
replace unescaper during parsing. However, the function was only
being used as a fallback for when the native decoder throws (on a
malformed URL). This patch moves the call to the native function and
the try/catch around it into querystring.unescape then has the parser
always invoke it, so that an override will always be used.

Fixes #4055

Reviewed-By: default avatarFedor Indutny <fedor@indutny.com>
parent f39e608c
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment