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

[PR #7701/312f747d backport][3.9] Require full version and method regex matches #7703

Commits on Oct 15, 2023

  1. Require full version and method regex matches (#7701)

    ## What do these changes do?
    
    These changes ensure that HTTP versions and methods fully match the
    regular expressions for those constructs. AIOHTTP currently only applies
    prefix-matching, which I assume was unintentional.
    
    ## Are there changes in behavior for the user?
    
    There should be no observable changes to the user, unless they use HTTP
    servers/clients that generate very malformed request lines. Such
    clients/servers are unlikely to exist because most other web servers
    reject these malformed messages.
    
    ## Related issue number
    
    Fixes #7700
    
    (cherry picked from commit 312f747)
    kenballus authored and patchback[bot] committed Oct 15, 2023
    Configuration menu
    Copy the full SHA
    9c65fcf View commit details
    Browse the repository at this point in the history