On 5/18/07, aparajita <[EMAIL PROTECTED]> wrote:
>
>
> The HTML 4 specification recommends that a semicolon be used as the
> separator for query string parameters because of the issues with
> encoding '&' in link urls (see
> http://www.w3.org/TR/html4/appendix/notes.html#h-B.2.2).


The String#toQueryParams method already accepts a separator argument:
http://prototypejs.org/api/string/toQueryParams

I guess it may be available for Hash.toQueryString, too. And, since we
recommend keeping params as hashes in your code (not strings) before you
pass them to Ajax.Requests, I guess we need an option for Ajax to serialize
those hashes with an alternate separator, too.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype: Core" group.
To post to this group, send email to prototype-core@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to