SIP URL 区分大小写吗?
Are SIP URLs case-sensitive?
我想知道 SIP URLs 和 URL 参数是否区分大小写。是否应将以下 URL 视为相等:
<sip:123456789@domain.net;confid=1538A396CDE>
<sip:123456789@domain.net;confid=1538a396cde>
RFC3261 对此有详细说明,特别是 section 19.1.4:
Comparison of the userinfo of SIP and SIPS URIs is case-
sensitive. This includes userinfo containing passwords or
formatted as telephone-subscribers. Comparison of all other
components of the URI is case-insensitive unless explicitly
defined otherwise.
从你的例子来看,它们看起来应该被认为是等价的,但是我建议你查阅 RFC,因为有一些例子应该根据大小写来处理不同的东西。
我想知道 SIP URLs 和 URL 参数是否区分大小写。是否应将以下 URL 视为相等:
<sip:123456789@domain.net;confid=1538A396CDE>
<sip:123456789@domain.net;confid=1538a396cde>
RFC3261 对此有详细说明,特别是 section 19.1.4:
Comparison of the userinfo of SIP and SIPS URIs is case- sensitive. This includes userinfo containing passwords or formatted as telephone-subscribers. Comparison of all other components of the URI is case-insensitive unless explicitly defined otherwise.
从你的例子来看,它们看起来应该被认为是等价的,但是我建议你查阅 RFC,因为有一些例子应该根据大小写来处理不同的东西。