Re: get_field() and + symbol

Arturo FM <[email protected]> Wed, 14 Feb 2007 17:36:16 +0100 (CET)
Newsgroups gmane.comp.web.quixote.user
Message-ID <[email protected]>
> What is escape() returning, on the client?
I tested "alert()" function and I saw "+" correctly.

> If the + is unescaped, you could try something like:
> escape(str).replace(/\+/g, '%2B')
OK! Run!!

> Another point, have you tried doing same with GET,
> and appending the params as
> querystring to your URL? With POST, your are sending
> the params as content,
> that should be encoded as per your content-type --
> not sure if escape() is what
> should be used for this.
Yes, I know... but I prefer to use POST in this case.

> Have you checked what the server side HTTP request
> is receiving as raw form
> data?
No, I haven't. But I will try it...

Thank you very much for your useful help!! :)



		
______________________________________________ 
LLama Gratis a cualquier PC del Mundo. 
Llamadas a fijos y móviles desde 1 céntimo por minuto. 
http://es.voice.yahoo.com