Patch that enables arrays in input-data

2 views
Skip to first unread message

Morten Fangel

unread,
Jan 18, 2009, 5:58:39 AM1/18/09
to oaut...@googlegroups.com
Hi,

Okay - so I whipped up a patch that enables input-data to be arrays
(eg ?a[]=1&a[]=2 which is a valid input, and which php will parse as
an array)

I did this by making OAuthUtil::urlencodeRFC3986 recursive if called
with an array..

This also enabled some cleanup of function that mapped urlencode
to all elements of a array manually..

With this patch along with the two others, my unit-tests will now finish
without any errors.. yay

For the sake of new readers, here are all three patches needed to fix
OAuthRequest.

-fangel

20080116_split_headers.patch
20080118_array_input.patch
20080118_scheme_port_fix.patch
Reply all
Reply to author
Forward
0 new messages