We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a84abab commit 48d5aafCopy full SHA for 48d5aaf
proxy/http/handler.py
@@ -307,7 +307,7 @@ def _parse_first_request(self, data: memoryview) -> bool:
307
except Exception as exc:
308
logger.exception('Error parsing the request', exc_info=exc)
309
raise HttpProtocolException(
310
- 'Error when parsing request: %s' % data.tobytes().decode('utf-8'),
+ 'Error when parsing request: %s' % data.tobytes().decode('utf-8', errors='ignore'),
311
)
312
if not self.request.is_complete:
313
return False
0 commit comments