Skip to content

Commit

Permalink
fix: add missing escape in .abnf'd quoted-pair (#161)
Browse files Browse the repository at this point in the history
Fix #160

Signed-off-by: Thomas Fossati <[email protected]>
  • Loading branch information
thomas-fossati authored Jan 30, 2025
1 parent a9fe697 commit 9e241f0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions cddl/cmw-example-2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[
"application/eat+cwt; eat_profile=\"tag:psacertified.org,2023:psa#tfm\"",
"I0faVQ"
]
1 change: 1 addition & 0 deletions cddl/frags.mk
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ CMW_CBOR_EXAMPLES += collection-example-1.diag
CMW_CBOR_EXAMPLES += collection-example-2.diag

CMW_JSON_EXAMPLES := cmw-example-1.json
CMW_JSON_EXAMPLES += cmw-example-2.json
CMW_JSON_EXAMPLES += collection-example-1.json
CMW_JSON_EXAMPLES += collection-example-2.json

Expand Down
2 changes: 1 addition & 1 deletion cddl/rfc9193.cddl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ tchar = "!" / "#" / "$" / "%" / "&" / "\'" / "*"
/ DIGIT / ALPHA
quoted-string = %x22 *( qdtext / quoted-pair ) %x22
qdtext = SP / %x21 / %x23-5B / %x5D-7E
quoted-pair = "\" ( SP / VCHAR )
quoted-pair = "\\" ( SP / VCHAR )

Media-Type-Name = type-name "/" subtype-name

Expand Down

0 comments on commit 9e241f0

Please sign in to comment.