Issue Bug Closed

#90174Query generation in AJAX API doesn't consider array correctly

Andreas Kienast 01/22/20, 18:46 updated 02/27/20, 12:43

Description

The AJAX API is able to generate a query string based on the input it gets. This fails if an object contains a simple array as a value, the query looks like this:

Input:

{
  "foo": ['a', 'b']
}

Output:
@foo=a&b@

Expected:
@foo[]=a&foo[]=b@

Reviews 1