X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fajax%2Fajax.js;fp=src%2Fajax%2Fajax.js;h=645caf72e4ad2c4fa90145cf08267184ec2c6f18;hb=e6c067858ec7f2c4e3e7da90f16c695f93a4ee07;hp=c8e10bd6d7151f48596c6ebbc5cf81d8133f2772;hpb=8a80d05a446ac7ac8a95459fb68932ddf539ff62;p=jquery.git diff --git a/src/ajax/ajax.js b/src/ajax/ajax.js index c8e10bd..645caf7 100644 --- a/src/ajax/ajax.js +++ b/src/ajax/ajax.js @@ -794,7 +794,7 @@ jQuery.extend({ // If the value is an array then the key names need to be repeated if ( a[j] && a[j].constructor == Array ) jQuery.each( a[j], function(){ - s.push( encodeURIComponent(j) + "[]=" + encodeURIComponent( this ) ); + s.push( encodeURIComponent(j) + "=" + encodeURIComponent( this ) ); }); else s.push( encodeURIComponent(j) + "=" + encodeURIComponent( a[j] ) );