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

Allow arbitrary HTTP versions #7456

Merged
merged 1 commit into from
Sep 13, 2022
Merged

Allow arbitrary HTTP versions #7456

merged 1 commit into from
Sep 13, 2022

Conversation

thc202
Copy link
Member

@thc202 thc202 commented Sep 12, 2022

Remove the validation of the HTTP version in request/response headers.
Tweak the HTTP version regular expression to allow only major version.
Does not add support for newer HTTP versions (though the messages can
still be sent) but allows to represent newer versions in plain text.

Remove the validation of the HTTP version in request/response headers.
Tweak the HTTP version regular expression to allow only major version.
Does not add support for newer HTTP versions (though the messages can
still be sent) but allows to represent newer versions in plain text.

Signed-off-by: thc202 <thc202@gmail.com>
@thc202 thc202 added this to the 2.12.0 milestone Sep 12, 2022
thc202 added a commit to thc202/zap-extensions that referenced this pull request Sep 12, 2022
Check that the minor HTTP version is present when converting it, in
case the message is being sent with just the major version.

Related to zaproxy/zaproxy#7456.

Signed-off-by: thc202 <thc202@gmail.com>
@psiinon psiinon merged commit da54220 into zaproxy:main Sep 13, 2022
@thc202 thc202 deleted the http-versions branch September 14, 2022 16:18
@github-actions
Copy link

This PR has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked and limited conversation to collaborators Dec 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

Successfully merging this pull request may close these issues.

3 participants