diff options
author | Ben Sturmfels <ben@sturm.com.au> | 2020-04-09 15:53:49 +1000 |
---|---|---|
committer | Ben Sturmfels <ben@sturm.com.au> | 2020-04-09 15:53:49 +1000 |
commit | 15c45a820f915455c8a1a55d971031aa122d1674 (patch) | |
tree | 309e4ead7b4988444f29b888c82be546b6040ec4 /setup.py | |
parent | f9112bd8833d08fc0b7a120c330d213e6e656a33 (diff) | |
download | mediagoblin-15c45a820f915455c8a1a55d971031aa122d1674.tar.lz mediagoblin-15c45a820f915455c8a1a55d971031aa122d1674.tar.xz mediagoblin-15c45a820f915455c8a1a55d971031aa122d1674.zip |
Decode request.query_string before use.
Prior to this change, when pagination kicks in on the user management or report
management panel, the following exception is raised:
TypeError: a bytes-like object is required, not 'str'
The cause is that `request.query_string` in the URL parameters in raw bytestring
form as per Werkzeug documentation.
Diffstat (limited to 'setup.py')
0 files changed, 0 insertions, 0 deletions