0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/core/server/api/shared/validators
Fabien O'Carroll 4f1866a263
Allowed for repeated query parameters for arrays (#10021)
no-issue

There are a few libraries, including node core that when given an array
for a query parameter will encode it as repeated query params. e.g.

```
{someParam: ['a', 'b']}
// becomes
'?someParam=a&someParam=b'
```

This adds a check for the value to stop us 500ing on repeated keys and
to add easier interop with http clients
2018-10-17 13:43:32 +07:00
..
input Allowed for repeated query parameters for arrays (#10021) 2018-10-17 13:43:32 +07:00
handle.js Extended all shared validator 2018-10-12 09:40:34 +02:00
index.js Added tiny framework to support multiple API versions (#9933) 2018-10-05 00:50:45 +02:00