Opened 10 years ago

Closed 10 years ago

#213 closed protocol defect (fixed)

Path/Query options minimum length

Reported by: cabo@… Owned by: draft-ietf-core-coap@…
Priority: minor Milestone: post-WGLC-1
Component: coap Version: coap-09
Severity: In WG Last Call Keywords:
Cc:

Description

Section 5.10. (Option Definitions) defines the Uri-Path, Uri-Query, Location-Path and Location-Query options to have a minimum length of 1 byte. This is a remnant of the time when each option could be included only at most once instead of for each path segment/query argument individually. Segments and arguments can have a length of zero characters.

(RFC 3986 is quite clear that

segment = *pchar

i.e., a segment can have zero or more pchars.
For example, a zero-length path segment is needed to differentiate

coap://example.com/a/
from
coap://example.com/a
)

Change History (1)

comment:1 Changed 10 years ago by zach@…

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in r688.

Note: See TracTickets for help on using tickets.