You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Channel dispatcher error when response body has CRLF #6547
Describe the bug
In Channel, the response body is ending up as a HTTP header "knativeerrordata", but if this response body contains CRLF and the statusCode is 404, this request forward to DLS fail, because CRLF is NOT allowed as HTTP header.
Expected behavior
The event that was sent to the sink is not processed further
To Reproduce
To construct a response that has a body contains CRLF like : "<!doctype html>\n<html>\n<head>\n <title>Error Page(tm)</title>\n</head>\n<body>\n<p>Quoth the server, 404!\n</body></html>"
And you will see there is no attempt at sending it to a deadLetterSink when this error occured
Activity