Open a-x- opened 6 years ago
URI.query('?a[]=1&a[]=2')
{ 'a[]': "2" }
URI.query('?a[b][]=1&a[b][]=2')
{ 'a[b][]': "2" }
{ a: ['1', '2'] }
{ a: { b: ['1', '2'] } }
Hi @a-x-
Thanks for reporting this. I would like to get this fixed. Unfortunately, I do not actively contribute to this project anymore. I will accept a pull request if you submit one though.
Hope you're well, Nate.
current
URI.query('?a[]=1&a[]=2')
➞{ 'a[]': "2" }
URI.query('?a[b][]=1&a[b][]=2')
➞{ 'a[b][]': "2" }
expected
{ a: ['1', '2'] }
{ a: { b: ['1', '2'] } }