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

test: add semicolon after chunk size #40487

Closed
wants to merge 1 commit into from

Commits on Oct 19, 2021

  1. test: add semicolon after chunk size

    The ABNF for chunk extensions as per RFC 7230 is
    
        chunk-ext      = *( ";" chunk-ext-name [ "=" chunk-ext-val ] )
    
        chunk-ext-name = token
        chunk-ext-val  = token / quoted-string
    
    Add a semicolon after the chunk size for clarity.
    
    This does not invalidate the test as it verifies that the HTTP parser
    does not ignore chunk extensions.
    
    Refs: https://grenfeldt.dev/2021/10/08/gunicorn-20.1.0-public-disclosure-of-request-smuggling
    lpinca committed Oct 19, 2021
    Configuration menu
    Copy the full SHA
    c7ee409 View commit details
    Browse the repository at this point in the history