RFC Errata
RFC 3261, "SIP: Session Initiation Protocol", June 2002
Note: This RFC has been updated by RFC 3265, RFC 3853, RFC 4320, RFC 4916, RFC 5393, RFC 5621, RFC 5626, RFC 5630, RFC 5922, RFC 5954, RFC 6026, RFC 6141, RFC 6665, RFC 6878, RFC 7462, RFC 7463, RFC 8217, RFC 8591, RFC 8760, RFC 8898, RFC 8996
Source of RFC: sip (rai)
Errata ID: 5598
Status: Held for Document Update
Type: Technical
Publication Format(s) : TEXT
Reported By: Roman Shpount
Date Reported: 2019-01-11
Held for Document Update by: Ben Campbell
Date Held: 2019-02-14
Section 25.1 says:
display-name = *(token LWS)/ quoted-string
It should say:
display-name = token *(LWS token)/ quoted-string
Notes:
There is a contradiction between the ABNF rule and specification.
The name-addr ABNF rule in RFC 3261 specifies:
name-addr = [ display-name ] LAQUOT addr-spec RAQUOT
addr-spec = SIP-URI / SIPS-URI / absoluteURI
display-name = *(token LWS)/ quoted-string
Based on this, LWS is always required between token and the "<" and the following Name-Address value is invalid: foo<sip:foo@bar.com>
At the same time section 20.10 says:
There may or may not be LWS between the display-name and the "<".
This implies that foo<sip:foo@bar.com> should be acceptable.
I propose to change ABNF rule for display-name to allow no LWS between last token and the "<"