Closed holysugar closed 13 years ago
This patch fixes buffer-over-read issue in unescape_url() and unescape_uri() .
The buffer-over-read issue may return a shorter result when reading not intended "%xx". If in utf-8 string, this raises exception like "invalid byte sequence in UTF-8".
Pulled and merged, thanks for the patch!
This patch fixes buffer-over-read issue in unescape_url() and unescape_uri() .
The buffer-over-read issue may return a shorter result when reading not intended "%xx". If in utf-8 string, this raises exception like "invalid byte sequence in UTF-8".