Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Require CRLF line endings in request line and headers #138

Merged
merged 1 commit into from
Jul 2, 2024

Commits on Jun 25, 2024

  1. Require CRLF line endings in request line and headers

    Disallow bare CR, LF, NUL in header and request lines. Tighten
    parsing of request lines to only allow single spaces, as specified
    in the RFCs.
    
    Forcing this RFC-compliant behavior breaks a lot of tests, so
    fix the tests to correctly use CRLF instead of LF for requests
    (other than the specific checks for handling of bad requests).
    
    Fixes ruby#137
    jeremyevans committed Jun 25, 2024
    Configuration menu
    Copy the full SHA
    9a12eed View commit details
    Browse the repository at this point in the history