Const
6 Oct 2007, 4:27 AM
Bug at Ext.urlEncode function at array encoding.
...
for(var i = 0, len = ov.length; i < len; i++) {
buf.push(k, "=", encodeURIComponent(ov[i] === undefined ? '' : ov[i]), "&");
}
...
need to replace with
...
for(var i = 0, len = ov.length; i < len; i++) {
buf.push(k, "[",i,"]=", encodeURIComponent(ov[i] === undefined ? '' : ov[i]), "&");
}
...
P.S. bug come from ext 1.1.1
...
for(var i = 0, len = ov.length; i < len; i++) {
buf.push(k, "=", encodeURIComponent(ov[i] === undefined ? '' : ov[i]), "&");
}
...
need to replace with
...
for(var i = 0, len = ov.length; i < len; i++) {
buf.push(k, "[",i,"]=", encodeURIComponent(ov[i] === undefined ? '' : ov[i]), "&");
}
...
P.S. bug come from ext 1.1.1