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

Fix normalization header values by trimming in MessageTrait #24

Merged
merged 2 commits into from
May 6, 2023

Conversation

devanych
Copy link
Member

@devanych devanych commented May 6, 2023

Q A
Bug fix? yes
New feature? no
Breaks BC? no

Spaces and tabs ought to be excluded by parsers when extracting the field value from a header field.

header-field = field-name ":" OWS field-value OWS
OWS = *( SP / HTAB )

https://tools.ietf.org/html/rfc7230#section-3.2.4

@devanych devanych added the bug Something isn't working label May 6, 2023
@devanych devanych merged commit 25e8ef2 into master May 6, 2023
25 checks passed
@devanych devanych deleted the trim-header-values branch May 6, 2023 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

Successfully merging this pull request may close these issues.

None yet

1 participant