Hi, 

>-----Original Message-----
>From: ext Pekka Pessi [mailto:[EMAIL PROTECTED] 
>Sent: Tuesday, July 03, 2007 2:17 PM
>To: Zabaluev Mikhail (Nokia-M/Helsinki)
>Cc: sofia-sip-devel@lists.sourceforge.net
>Subject: Re: [Sofia-sip-devel] unnecessary unescaping
>
>> BTW, from what I could understand out of the code ;) the 
>hostname part of SIP/SIPS URIs seems to be "canonized" with 
>escaping as well, but in reality it should only be validated 
>to have a FQDN/IPv4/IPv6, everything else makes the URI invalid.
>
>Hm? Hostname should not have any escaped characters.

In 1.12.6, the host name part is subjected to url_canonize2 with the reserved 
set:

785       s = (char *)url->url_host;
786       if (s && !url_canonize2(s, s, SIZE_MAX, RESERVED_MASK))
787         return -1;

-- 
  Mikhail

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to