Decode request.query_string before use.
authorBen Sturmfels <ben@sturm.com.au>
Thu, 9 Apr 2020 05:29:51 +0000 (15:29 +1000)
committerBen Sturmfels <ben@sturm.com.au>
Thu, 9 Apr 2020 05:29:51 +0000 (15:29 +1000)
commitb6fba854007bb4392846085a60178c44dbd7989e
treeb3027d6982bc41ec86796849e43d855508faa8a1
parent15ddb7c0ec936e42091f3c8cd7c41273f5ab94ba
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.
mediagoblin/plugins/openid/templates/mediagoblin/plugins/openid/login.html
mediagoblin/plugins/openid/templates/mediagoblin/plugins/openid/login_link.html
mediagoblin/templates/mediagoblin/moderation/report_panel.html
mediagoblin/templates/mediagoblin/moderation/user_panel.html