Commit ae97580f authored by Pekka Pessi's avatar Pekka Pessi

torture_url.c: added more tests for escaping

See bug #1685465.

darcs-hash:20070326162837-55b16-18b468fa97bfc9604b423b4feaacf6a164e2c69f.gz
parent 1b6c420e
......@@ -403,6 +403,10 @@ int test_sip(void)
TEST_S(u->url_params, "isfocus");
TEST_1(!url_have_transport(u));
u = url_hdup(home, (void *)"sip:%22foo%22@172.21.55.55:5060");
TEST_1(u);
TEST_S(u->url_user, "%22foo%22");
a = url_hdup(home, (void *)"sip:172.21.55.55:5060");
b = url_hdup(home, (void *)"sip:172.21.55.55");
TEST_1(a); TEST_1(b);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment