RFC Errata
RFC 3261, "SIP: Session Initiation Protocol", June 2002
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 "<"