From 7dad32f5ae6312bde3efc637a4172abc6b075666 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Thu, 3 Apr 2008 22:32:46 +0000 Subject: [PATCH] Wed Mar 26 07:20:16 EDT 2008 Pekka.Pessi@nokia.com * torture_sip.c: updated tests (quoting semicolon in query/header part) git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8016 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- libs/sofia-sip/libsofia-sip-ua/sip/torture_sip.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libs/sofia-sip/libsofia-sip-ua/sip/torture_sip.c b/libs/sofia-sip/libsofia-sip-ua/sip/torture_sip.c index f48ee56f52..1e854d9672 100644 --- a/libs/sofia-sip/libsofia-sip-ua/sip/torture_sip.c +++ b/libs/sofia-sip/libsofia-sip-ua/sip/torture_sip.c @@ -281,7 +281,7 @@ int test_url_headers(void) TAG_END()); TEST_1(s); - TEST_S(s, "to=%22Joe%22%20%3Csip%3Ajoe@example.com%3E;tag%3Dfoofaa" + TEST_S(s, "to=%22Joe%22%20%3Csip%3Ajoe@example.com%3E%3Btag%3Dfoofaa" "&subject=foo"); url = url_format(home, "sip:test@example.net?%s", s); TEST_1(url); @@ -290,19 +290,19 @@ int test_url_headers(void) s = sip_headers_as_url_query (home, - SIPTAG_FROM_STR(""), + SIPTAG_FROM_STR(""), SIPTAG_ACCEPT_STR(""), SIPTAG_PAYLOAD_STR("hello"), SIPTAG_ACCEPT_STR(""), TAG_END()); - TEST_S(s, "from=%3Csip%3Ajoe@example.com%3E" + TEST_S(s, "from=%3Csip%3Ajoe@example.com%3Buser%3Dip%3E" "&accept=" "&body=hello" "&accept="); d = url_query_as_header_string(home, s); - TEST_S(d, "from:\n" + TEST_S(d, "from:\n" "accept:\n" "accept:\n" "\n"