rack/rack — Issue #262: Incorrect urls generated by Rack::Utils.build_query
Author: ddebernardy
Created: 2011-11-12 18:18:54+00:00
State: open

Personally, I'd expect these two:

```
build_query({foo: [bar, baz]})
build_query({foo: {bar: baz}})
```

... to return:

```
foo[]=bar&foo[]=baz
foo[bar]=baz
```

The first loses information:

```
foo=bar&foo=baz
```

(an Apache server will then parse this as foo=baz)

The second returns something completely unexpected. Off the top of my head is was:

```
foo[bar]=\"baz\"
```