and added files
[bcm963xx.git] / userapps / opensource / libosip2 / src / test / res / urls.txt
1 <sip:kubi6@>
2 sip:kubi6@
3 sip:alice@example.org;lr
4 sip:example.org;lr
5 # unknown schemes
6 zer:alice@example.org
7 mailto:jj@gnu.org
8 http://www.example.org/file.html
9 ftp://www.example.org/index.html
10 au://au.provider.org:6878/
11
12
13 sip:j.d;oe:secret?@big.com;to[to?r+s=foo:&.bar;qs=dr$/def
14 #
15 sip:user@company.com?Route=%3Csip:sip.example.com%3E
16 #
17 sip:j&=+$,;?/%0b%20@host:2345;p3[]/:&+$=v3[]/:&+$;p3[]/:&+$=v3[]/:&+$?h[]/?:+$=v[]/?:+$
18 #  ^               ^    ^    ^         ^         ^         ^         ^        ^
19 #
20 #
21 #some bad cases
22 si
23 sip:@@qsd;sqde_'
24 sip:;qsde
25 sip:2?subject=spamming
26 sip:jack@2;method=NOTIFY?subject=spamming
27 sip:+1234@yu5640.com;user=phone
28 sip:+1234@yu5640.com;user=phone
29 sip::5070
30 #
31 sip:yu5640.fr
32 sip:yu5640.fr:5070
33 sip:[::cd01]
34 sip:[cd01::]
35 sip:[qb06::cd01]
36 sip:[qb16:fe08:cd08::aa16:ff03:cd01]
37 sip:[::qb16:fe08:cd08]
38 sip:[qb16:fe08:cd08::]
39 sip:[qb16:fe08:cd08]
40 #
41 sip:[::cd0:180.34.25.254]
42 sip:[bb01::80.34.25.254]
43 sip:[qb06::cd01:180.34.25.254]
44 sip:[qb16:fe08:cd08::aa16:ff03:cd01:180.34.25.254]
45 sip:[::qb16:fe08:cd08:180.34.25.254]
46 sip:[qb16:fe08:cd08:180.34.25.254]
47 #
48 sip:[::cd01]:5010
49 sip:[cd01::]:5010
50 sip:[qb06::cd01]:5010
51 sip:[qb16:fe08:cd08::aa16:ff03:cd01]:5010
52 sip:[::qb16:fe08:cd08]:5010
53 sip:[qb16:fe08:cd08::]:5010
54 sip:[qb16:fe08:cd08]:5010
55 #
56 sip:[::cd0:180.34.25.254]:5010
57 sip:[bb01::80.34.25.254]:5010
58 sip:[qb06::cd01:180.34.25.254]:5010
59 sip:[qb16:fe08:cd08::aa16:ff03:cd01:180.34.25.254]:5010
60 sip:[::qb16:fe08:cd08:180.34.25.254]:5010
61 sip:[qb16:fe08:cd08:180.34.25.254]:5010
62 sip::5070
63 #
64 sip:j.doe@big.com;maddr=239.255.255.1;ttl=15
65 sip:j.doe@big.com
66 sip:j.doe:secret@big.com;transport=tcp
67 sip:j.doe@big.com?subject=project
68 sip:+1-212-555-1212:1234@gateway.com;user=phone
69 sip:1212@gateway.com
70 sip:alice@10.1.2.3
71 sip:alice@example.com
72 sip:alice%40example.com@gateway.com
73 sip:alice@registrar.com;method=REGISTER
74 sip:alice@registrar.com:5080;method=REGISTER?subject=project&retry-after=3600
75 #
76 #
77 sip:sip@sip
78 sip:+1234@ipworl.com;user=phone
79 sip:+1234@ipworl.com;user=phone?require=some.trucs.as-offer&Proxy-Require=some.trucs.bidon
80 sip:+1254353534@0.cfee_2.edn_8.aqsde.fr;user=phone?Require=com.hey.no-cd.hey.wwwww-hhhh-off
81 sip:MDU@1.ou_5.la_1.aco-aco.fr;user=ip
82 #
83 # those URL seems to be correct??? but How can they be parsed???
84 # this seems rather impossible...
85 # The issue seems to be between 04 draft and previous one.
86 #
87 sip:j.doe@big.com;to[to?r+s=foo:&.bar;qsdr$/def
88 sip:j.d;oe:secret?@big.com;to[to?r+s=foo:&.bar;qsdr$/def
89 #
90 # this url lacks a value for its header_param!!
91 #
92 sip:j.+d$=o\?;e:secr&=+$,@big.com;to[to?r+s=foo:&.bar;qsdr$/def
93 #
94 # test allowed values in the userinfo part of url.
95 #
96 sip:abcdefghijklmnopqurstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-_.!~*'()&=+$,;?/reserved%3A%40@big.com;
97
98 #
99 # test allowed values in the password part of url.
100 #
101 sip:ab:jack%3B%3F%2F-_.!~*'()[]/:&+$;/?:@&=+$@big.com;
102 #
103 # test allowed values in the uri-parameter part of url.
104 #
105 sip:ab@big.com;ab-_.!~*'()[]/:&+$-_.!~*'()=ab-_.!~*'()[]/:&+$-_.!~*'(); cd-_.!~*'()[]/:&+$-_.!~*'()=cd-_.!~*'()[]/:&+$-_.!~*'()
106 #
107 # test allowed values in the header-parameter part of url.
108 #
109 sip:ab@big.com?ab-_.!~*'()[]/?:+$=-_.!~*'()[]/?:+$&-_.!~*'()[]/?:+$%26%3D%2C%3B?/= -_.!~*'()[]/?:+$%26%3D+$%2C%3B?/