-
Notifications
You must be signed in to change notification settings - Fork 184
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix chunk extensions quoted-string value parsing (#253)
According to [rfc9112](https://datatracker.ietf.org/doc/html/rfc9112) quoted string is defined by [rfc9110](https://datatracker.ietf.org/doc/html/rfc9110) ``` quoted-string = <quoted-string, see [HTTP], Section 5.6.4> ``` The definition of quoted-string also uses a notion of quoted-pair: ``` quoted-pair = "\" ( HTAB / SP / VCHAR / obs-text ) ``` This change makes the parsing of quoted-string aware of quoted-pairs and makes it possile to handle valid quoted strings. References: * https://datatracker.ietf.org/doc/html/rfc9112#name-syntax-notation * https://datatracker.ietf.org/doc/html/rfc9112#name-chunk-extensions * https://datatracker.ietf.org/doc/html/rfc9110#section-5.6.4
- Loading branch information
1 parent
e46d619
commit 5b57e4c
Showing
3 changed files
with
44 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters