Re: Question regarding conflicting grammar for IPV6 SIP URI andRFC 3986

"Dale Worley" <[email protected]>
Newsgroups gmane.ietf.sip
Organization Nortel Networks
Message-ID <[email protected]>
I would like to resume the discussion of the problem of IPv6 host
addresses in SIP URIs.

To abbreviate my previous message, SIP URIs appear to be intended to be
a subset of RFC 3986 "path-rootless" URIs (as are mailto: URIs).  Of the
characters that RFC 3261 permits in the user/host part of the URI, which
corresponds to the "hier-part" of RFC 3986, the following characters are
not allowed by the syntax of RFC 3986:

? (permitted in user-parts)
/ (permitted in user-parts)
[ (permitted as part of an IPv6 address)
] (permitted as part of an IPv6 address)

In order to straighten out this problem, I propose that we modify the
RFC 3261 definition to bring it into line with RFC 3986.  Specifically,
we should:

1. Remove "?" and "/" from the user-unreserved set.  (These characters
can still be used in their escaped form, which is equivalent to their
unescaped form under the current rules.)

2. Replace "[" and "]" in host-addresses by their escaped forms, "%5B"
and "%5D" (as is done in mailto: URIs).

This will inconvenience any implementation currently using the two
characters in user-names, or using IPv6 addresses.  But it avoids having
to change the master URI syntax of RFC 3986, which is a task of much
broader scope.

Comments?

Dale


_______________________________________________
Sip mailing list  https://www.ietf.org/mailman/listinfo/sip
This list is for NEW development of the core SIP Protocol
Use [email protected] for questions on current sip
Use [email protected] for new developments on the application of sip
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.