Am 27.04.2005 um 01:05 schrieb Stephen Deasey:

On 4/25/05, Zoran Vasiljevic <[EMAIL PROTECTED]> 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?id5hix
_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel


Reply via email to