'Regression test for #15152'

def test_non_ascii_query_string_does_not_crash(self):

    request = self._get_request(u'slash')
    request.META[u'QUERY_STRING'] = force_str(u'drink=caf\xe9')
    response = CommonMiddleware().process_request(request)
    self.assertEqual(response.status_code, 301)
