This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author maxking
Recipients maxking
Date 2017-05-26.09:49:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1495792186.98.0.218510408103.issue30483@psf.upfronthosting.co.za>
In-reply-to
Content
After decoding percentage encoded `name` and `values` in the query string, it tries to `_coerce_result` or encode the result to ascii (which is the value of _implicit_encoding).

```
  File "/usr/lib/python3.6/urllib/parse.py", line 691, in parse_qsl
    value = _coerce_result(value)
  File "/usr/lib/python3.6/urllib/parse.py", line 95, in _encode_result
    return obj.encode(encoding, errors)
UnicodeEncodeError: 'ascii' codec can't encode character '\xe9' in position 1: ordinal not in range(128)
```

As seen in the partial traceback above, it breaks things when trying to parse unicode encode query string values.
History
Date User Action Args
2017-05-26 09:49:47maxkingsetrecipients: + maxking
2017-05-26 09:49:46maxkingsetmessageid: <1495792186.98.0.218510408103.issue30483@psf.upfronthosting.co.za>
2017-05-26 09:49:46maxkinglinkissue30483 messages
2017-05-26 09:49:46maxkingcreate