Edit report at https://pear.php.net/bugs/bug.php?id=20107&edit=1
ID: 20107
Updated by: mike@silverorange.com
Reported By: mike@silverorange.com
Summary: Array query parameters and post data not handled
properly
Status: Open
Type: Bug
Package: HTTP_OAuth
Package Version: SVN
PHP Version: Irrelevant
Roadmap Versions:
New Comment:
https://github.com/pear/HTTP_OAuth/pull/3
Previous Comments:
------------------------------------------------------------------------
[2013-10-31 20:58:36] gauthierm
Description:
------------
If you do an OAuth request to http://myservice.com/?
ids[]=2&ids[]=3 HTTP_OAuth only understands the last ids[]
parameter.
PHP parses these into an array. HTTP_OAuth should do the
same.
This is part of a larger issue. Any query parameter can be
duplicated in HTTP and OAuth and the signature base is
affected. The general issue is much harder to solve than just
supporting arrays and would require significant API changes.
------------------------------------------------------------------------