List Info

Thread: Re: get_field() and + symbol




Re: get_field() and + symbol
country flaguser name
Spain
2007-02-14 10:36:16
> 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
_______________________________________________
Quixote-users mailing list
Quixote-usersmems-exchange.org
http://mail.mems-exchange.org/mailman/listinfo/quixo
te-users

[1]

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