From: Aki Tuomi Date: Tue, 5 Nov 2024 12:01:11 +0000 (+0200) Subject: lib: test-uri - Fix sip tests X-Git-Tag: 2.4.0~282 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=deb7adf22eea0d4ab78e47e0338285c35d17d261;p=thirdparty%2Fdovecot%2Fcore.git lib: test-uri - Fix sip tests In RFC 3261 the tag is clearly outside the URI. --- diff --git a/src/lib/test-uri.c b/src/lib/test-uri.c index 6dede362aa..c1b41b99b8 100644 --- a/src/lib/test-uri.c +++ b/src/lib/test-uri.c @@ -219,7 +219,7 @@ const char *rfc_uri_tests[] = { "sip:bob@biloxi.com;transport=udp", "sip:bob@engineering.biloxi.com", "sip:bob@phone21.boxesbybob.com", - "sip:c8oqz84zk7z@privacy.org>;tag=hyh8", + "sip:c8oqz84zk7z@privacy.org", "sip:callee@domain.com", "sip:callee@gateway.leftprivatespace.com", "sip:callee@u2.domain.com", @@ -245,7 +245,7 @@ const char *rfc_uri_tests[] = { "sips:alice@atlanta.com?subject=project%20x&priority=urgent", "sip:server10.biloxi.com;lr", "sip:ss1.carrier.com", - "sip:user@host?Subject=foo&Call-Info=", + "sip:user@host?Subject=foo&Call-Info=%3Chttp://www.foo.com%3E", "sip:watson@bell-telephone.com", "sip:watson@worcester.bell-telephone.com", #endif