Don't crash on "invalid %-encoding"

The problem is that `Rack::Utils.parse_query` raises an exception when given invalid input. We don't want that.

See: https://sofatutor.airbrake.io/projects/2853/groups/785102228?environment=production