mirror of https://github.com/lukechilds/node.git
Browse Source
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: Fedor Indutny <fedor@indutny.com>v0.10.32-release
Tristan Berger
10 years ago
committed by
Fedor Indutny
2 changed files with 15 additions and 8 deletions
Loading…
Reference in new issue