You are using an out of date browser. It may not display this or other websites correctly. You should upgrade or use an alternative browser.
http protocol compliance
About this tag
The tag 'http protocol compliance' covers discussions about adherence to HTTP standards, particularly RFC specifications. A notable thread examines a Node.js vulnerability (CVE-2018-7159) where the HTTP parser incorrectly accepted spaces within Content-Length header values, violating RFC 7230. The fix enforced strict parsing, which improved security but could break code relying on lenient behavior. This tag is relevant for developers and IT professionals working with HTTP implementations, web servers, or security testing, focusing on ensuring correct protocol behavior to prevent parsing ambiguities and potential exploits.
The HTTP parser in Node.js historically accepted spaces inside the numeric value of the Content-Length header — for example, treating "Content-Length: 1 2" as the decimal value 12 — a behavior that contradicts the HTTP specification and was catalogued as CVE‑2018‑7159; Node.js maintainers...