From: Zoran V. <zv...@ar...> - 2005-04-27 04:44:27
|
Am 27.04.2005 um 01:05 schrieb Stephen Deasey: > On 4/25/05, Zoran Vasiljevic <zv...@ar...> wrote: >> >> We have switched our app to Naviserver and there was one spot >> I had to fix: ns_urlencode >> >> This call is now properly escaping blanks depending on the >> part of the URL string: path-part or query-part. If you use >> this command you might want to check out its usage. > > > Is this not backwards compatible? It defaults to '-part query' which > is what the old command did, turning blanks into +'s. Just > wondering... Hm. The problem was not with the query but with the fact that I used ns_urlencode to encode the *entire* string including both path and the query. Hence the [ns_conn urlv] gave me path parts where blanks were encoded as "+". Zoran > ------------------------------------------------------- > SF.Net email is sponsored by: Tell us your software development plans! > Take this survey and enter to win a one-year sub to SourceForge.net > Plus IDC's 2005 look-ahead and a copy of this survey > Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix > _______________________________________________ > naviserver-devel mailing list > nav...@li... > https://lists.sourceforge.net/lists/listinfo/naviserver-devel |