Closed kenballus closed 5 months ago
@kenballus I submitted #138 to attempt to fix this, but it goes a little further than just disallowing CR in header values. Any chance you could review and let me know if I've made it stricter than what the RFCs allow?
WEBrick allows CR (
\r
) within header values. RFC 9110 says not to do this:The suggested fix here would be to reject requests with headers containing bare CR.