PolymerElements / iron-ajax

Easily make ajax requests
https://www.webcomponents.org/element/PolymerElements/iron-ajax
127 stars 113 forks source link

Arrays not properly encoded when content-type is x-www-form-urlencoded #298

Open dejan9393 opened 7 years ago

dejan9393 commented 7 years ago

The iron-request element does not correctly encode array values for the x-www-form-urlencoded content-type.

There is a TODO in the _wwwFormUrlEncode method stating:

// TODO(rictic): handle array values here, in a consistent way with // iron-ajax params.