[Rails-spinoffs] Re: Character # do not allowed in new prototype's version

2007-08-25 Thread Tom Gregory
d if it works... don't touch it!! ^_^). Now > i can to pass strings encoded strings with special characters like > 'ñ', marked vowels or '¡' using '@' character for to encode (only i > hope this fix will work in any other case ;) ) It sound like

[Rails-spinoffs] Re: Prototype Form.serialize incorrect url encoding

2007-09-05 Thread Matt Foster
Hey Benjamin/Martijin Teigeler, I think your problem lies within having ampersands within the values, as this character is the delimiter from one key value pair and the next its going to always have huge problems in a query string. Try switching that to something else and I think you&#x

[Rails-spinoffs] Re: Prototype Form.serialize incorrect url encoding

2007-09-05 Thread Brian Williams
> values, as this character is the delimiter from one key value pair and > the next its going to always have huge problems in a query string. > Try switching that to something else and I think you'll have much > better luck with data transmission. > > Cheers, > Mat

[Rails-spinoffs] Re: malformed URI sequence problem

2007-04-01 Thread Spiceee
escape()'s the query string it returns, then be warned that up to 1.5.1_rc1 it doesn't work with utf8 encoded pages/forms. Regards, Fabio. On 4/2/07, Colin Mollenhour <[EMAIL PROTECTED]> wrote: > > (de|en)codeURIComponent is for sending via get/post specifically and not >

[Rails-spinoffs] Re: malformed URI sequence problem

2007-04-02 Thread Colin Mollenhour
nd so it's supposed to pull the trick. Come to think of it, I've had to use it instead of escape() in the past while passing vars to Flash Movies (which use utf8 by default). If Prototype's supposed to work with a callback function that escape()'s the query string it returns,

[Rails-spinoffs] Re: malformed URI sequence problem

2007-04-01 Thread Colin Mollenhour
What version of Prototype are you using? The 1.5.1_x versions convert the parameters property into a hash using String#toQueryParams and then back to a string using Hash.toQueryString so you might want to test your callback string with these functions.. i.e. callback:function(form, value

[Rails-spinoffs] Re: Character # do not allowed in new prototype's version

2007-08-24 Thread [EMAIL PROTECTED]
that i sended in javascript, but in this new version, when find this > > character, it cuts the string and i don't receive the same param that > > i sended. > > From your description, it sounds like you're building your query > string by hand ... and not properl

[Rails-spinoffs] Re: malformed URI sequence problem

2007-04-01 Thread Spiceee
On 4/1/07, Colin Mollenhour <[EMAIL PROTECTED]> wrote: > > What version of Prototype are you using? The 1.5.1_x versions convert > the parameters property into a hash using String#toQueryParams and then > back to a string using Hash.toQueryString so you might want to test your > cal

[Rails-spinoffs] Re: malformed URI sequence problem

2007-04-01 Thread Colin Mollenhour
uot; error on both Firefox and Safari when using InPlaceEditor? All I'm doing is: // When I remove the escape from the tags value the problem goes away (at least for the utf8 encoded strings, which seems to be the source of the problem), but if any special URI char is entered in

[Rails-spinoffs] Re: Form.serialize: correctness and speed

2007-04-14 Thread Tom Gregory
otype and MochiKit get this wrong. - Submit elements should only appear in the query string when they are the element used to submit the form. Only jQuery and dojo get this right. YUI always includes the first submit element. Prototype sends all the input submit elements (but not button s