From RFC 9110:
Field values containing CR, LF, or NUL characters are invalid and dangerous, due to the varying ways that implementations might parse and interpret those characters; a recipient of CR, LF, or NUL within a field value MUST either reject the message or replace each of those characters with SP before further processing or forwarding of that message.
uhttpd does not enforce this rule for CR and LF. This leads to a pretty poor interaction with certain load balancers. See litespeedtech/openlitespeed#394 for more details.
The suggested fix here would be to either
- reject messages containing CR or LF within header values, or
- replace those characters with spaces before processing the request.
From RFC 9110:
uhttpd does not enforce this rule for CR and LF. This leads to a pretty poor interaction with certain load balancers. See litespeedtech/openlitespeed#394 for more details.
The suggested fix here would be to either