2007/7/2, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
> >> Why is the pctr parameter being unescaped?
> >
> >All the unreserved chars in URIs are unescaped. The reasoning is to
> >make it more straightforward to compare the URIs. Perhaps it would be
> >more appropriate to leave everything but scheme, host and port
> >unescaped.
>
> It's OK for "!" (it shouldn't have been escaped in the first place), but 
> somehow "@" in the parameter became unescaped too, which is wrong because it 
> is a reserved URI character.

Uh-oh. You are right,  '@' should be kept escaped.

> >>Can I turn this off?
>
> >Only by modifying the source code, see url_d() in url/url.c.
>
> 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.

-- 
Pekka.Pessi mail at nokia.com

-------------------------------------------------------------------------
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