List Info

Thread: Url Special characters




Url Special characters
user name
2007-10-10 10:39:03

Hi,
Url which contains special character "+" doesn't work. "+" gets replaced by %2b.
According to http://www.faqs.org/rfcs/rfc1738.html safe characters( "$" | "-" | "_" | "." | "+" ) are allowed to be part of Url.

By changing escapeChars[] (rtsputil.cpp), I could get the '+' character to work. ; As a part of fix I was testing other safe char and '$' seems to have problem. When '$' is part of the url, it gets altered with url param 'start' (?start=), resulting in incorrect url. HXURLUtil:oDollarFixup uses function TimeParse to validate a string for time and that seems to return error. Do we have any format specification (for TimeParse) on what should be considered as valid ?

 rtsp://myserver.com/file$name$.3gp results in rtsp://myserver.com/file?start=name$.3gp

Thanks,
Praveen

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )