Displaying 1 result from an estimated 1 matches for "bar&apple".
2007 Apr 17
5
Problem with toQueryParams()
...e
new Ajax object if it is a string. This is the code (line #975 is the
second line):
if (typeof this.options.parameters == ''string'')
this.options.parameters = this.options.parameters.toQueryParams();
A quick example could be seen by running the following in Firebug:
"foo=bar&apple=&orange=".toQueryParams()
The apple and orange parameters are left off due to being empty. In
terms of forms and empty fields (which should trigger validation
errors), this seems like a huge problem.
Is my version of prototype just out-of-date or is there a fix for this
in the...