php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59188 OAuth::fetch extra_params is messing with multi dimensional arrays
Submitted: 2010-05-03 07:01 UTC Modified: 2010-05-03 09:51 UTC
From: z at orbus dot fr Assigned:
Status: Closed Package: oauth (PECL)
PHP Version: 5.2.13 OS: Debian Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: z at orbus dot fr
New email:
PHP Version: OS:

 

 [2010-05-03 07:01 UTC] z at orbus dot fr
Description:
------------
Seems that ::fetch method is not capable of sending multi dimensional arrays.


Reproduce code:
---------------
$oauth->fetch($url, array('one', 'two', 'three' => array('four', 'five')));

Expected result:
----------------
Get (array) $_GET['three'] => 'four', 'five'

Actual result:
--------------
(string) $_GET['three'] => ""

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-05-03 09:51 UTC] datibbaw@php.net
This bug has been fixed in SVN.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pecl.php.net.

In case this was a pecl.php.net website problem, the change will show
up on the website in short time.
 
Thank you for the report, and for helping us make PECL better.

Surprised that the code didn't actually crash ;-)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 16:01:29 2024 UTC