balazsbotond / urlcat

A URL builder library for JavaScript.
https://urlcat.org
MIT License
1.83k stars 57 forks source link

Support multiple query parameters with the same name #5

Closed balazsbotond closed 4 years ago

balazsbotond commented 4 years ago
urlcat('http://example.com', '/path', { p: 1, q: [2, 3] })

currently returns:

http://example.com/path?p=1&q=2%2C3

should return:

http://example.com/path?p=1&q=2&q=3
balazsbotond commented 4 years ago

See also #6

balazsbotond commented 4 years ago

Duplicate of #6