Skip to content

fix: add missing escape in .abnf'd quoted-pair#161

Merged
thomas-fossati merged 1 commit into
mainfrom
mediatype-fix
Jan 30, 2025
Merged

fix: add missing escape in .abnf'd quoted-pair#161
thomas-fossati merged 1 commit into
mainfrom
mediatype-fix

Conversation

@thomas-fossati

Copy link
Copy Markdown
Collaborator

Fix #160

Fix #160

Signed-off-by: Thomas Fossati <thomas.fossati@linaro.org>
@thomas-fossati

Copy link
Copy Markdown
Collaborator Author

cc @deeglaze

Comment thread cddl/rfc9193.cddl
quoted-string = %x22 *( qdtext / quoted-pair ) %x22
qdtext = SP / %x21 / %x23-5B / %x5D-7E
quoted-pair = "\" ( SP / VCHAR )
quoted-pair = "\\" ( SP / VCHAR )

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you not mean “\””?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no, I don't

@nedmsmith nedmsmith left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@thomas-fossati thomas-fossati merged commit 9e241f0 into main Jan 30, 2025
@thomas-fossati thomas-fossati deleted the mediatype-fix branch January 30, 2025 07:53
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.

missing escape in .abnf'd quoted-pair

3 participants