RFC Errata
RFC 7252, "The Constrained Application Protocol (CoAP)", June 2014
Note: This RFC has been updated by RFC 7959, RFC 8613, RFC 8974, RFC 9175
Source of RFC: core (wit)
Errata ID: 4895
Status: Held for Document Update
Type: Editorial
Publication Format(s) : TEXT
Reported By: Esko Dijk
Date Reported: 2016-12-23
Held for Document Update by: Francesca Palombini
Date Held: 2023-01-18
Section 6.4 says:
Note that these rules completely resolve any percent-encoding.
It should say:
Note that these rules completely resolve any percent-encoding. Also note that a trailing slash character in the <path> component represents a separate, zero-character path segment (see [RFC3986] Section 3.3 ABNF) and therefore it is encoded using a Uri-Path Option of zero length.
Notes:
The current specification for decomposing a URI into CoAP Options (Section 6.4) is correct; however the text may still be unclear to implementers who may think that the phrase "not including the delimiting slash characters" means simply omitting a trailing slash character in the URI path. This is incorrect. See the discussion outcome in email thread https://www.ietf.org/mail-archive/web/core/current/msg08223.html . Therefore, a minor clarification is proposed in the notes after the parsing steps.