mirror of
https://github.com/minio/minio.git
synced 2025-11-20 01:50:24 -05:00
rpc: Fix json rpc to handle array and object request params.
rpc/v2/json2 code has a bug where it treats all jsonrpc 2.0 request params like an 'object'. In accordance with the spec it could be both 'object' or an 'array'. Handle both cases.
This commit is contained in:
4
vendor/vendor.json
vendored
4
vendor/vendor.json
vendored
@@ -44,8 +44,8 @@
|
||||
},
|
||||
{
|
||||
"path": "github.com/gorilla/rpc/v2/json2",
|
||||
"revision": "839c4c31c6bb12c15f41802cf89325aa89439ac3",
|
||||
"revisionTime": "2015-07-14T15:53:15-07:00"
|
||||
"revision": "64e20900b8aa38bb0771dec71ba3bcc2b07fc8ec",
|
||||
"revisionTime": "2015-11-05T07:45:51+08:00"
|
||||
},
|
||||
{
|
||||
"path": "github.com/mattn/go-isatty",
|
||||
|
||||
Reference in New Issue
Block a user