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
