diff options
author | Ben Sturmfels <ben@sturm.com.au> | 2020-04-09 15:29:51 +1000 |
---|---|---|
committer | Ben Sturmfels <ben@sturm.com.au> | 2020-04-09 15:29:51 +1000 |
commit | b6fba854007bb4392846085a60178c44dbd7989e (patch) | |
tree | b3027d6982bc41ec86796849e43d855508faa8a1 /setup.py | |
parent | 15ddb7c0ec936e42091f3c8cd7c41273f5ab94ba (diff) | |
download | mediagoblin-b6fba854007bb4392846085a60178c44dbd7989e.tar.lz mediagoblin-b6fba854007bb4392846085a60178c44dbd7989e.tar.xz mediagoblin-b6fba854007bb4392846085a60178c44dbd7989e.zip |
Decode request.query_string before use.
This doesn't seem to be an issue in my Guix SD/Python 3.7 testing, but hit an
issue on Debian 9/Python3.5 where concatenating text to `request.query_string`
was causing the error:
TypeError: a bytes-like object is required, not 'str'
This clearly hasn't been an issue in the past though, so I suspect there's a
library somewhere that's on a different version and is behaving differently.
Diffstat (limited to 'setup.py')
0 files changed, 0 insertions, 0 deletions