Skip to content

Conversation

@ririsoft
Copy link
Contributor

rfc7232 specifies a valid set of ASCII characters that etag headers should match.

This PR is adding the missing character validation.
Some similar implementation can be found in Go for instance.

@ririsoft
Copy link
Contributor Author

I see that the clippy fix is also submitted via #234 .
I will then wait for it to be merged and rebase this PR on it if you agree.

@Fishrock123
Copy link
Member

@ririsoft I have merged the clippy fixes.

rfc7232 specifies a valid set of ASCII characters
that etag headers should match.
@ririsoft ririsoft force-pushed the etag-fix-valid-chars branch from 007e8eb to 0f26be1 Compare August 26, 2020 06:40
@Fishrock123 Fishrock123 merged commit a169d6b into http-rs:main Sep 16, 2020
@ririsoft ririsoft deleted the etag-fix-valid-chars branch September 16, 2020 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants