This code takes already prepared uri with all parameters urlendcoded and splits them back into the array of parameters. Then it adds oAuth parameters and composes the new uri. The problem here is that custom parameters from the original uri get urlencoded again, so they become "double urlencoded".

This bug is the only thing that makes it really impossible to use Zend_Oauth along with Zend_Gdata to access Google Api using oAuth authentication. To fix it, simply use urldecode() for both parameter name and parameter value when breaking an url to parameters array.

Comments

Posted by Pádraic Brady (padraic) on 2010-10-10T13:20:36.000+0000

Fixed in r23074 in trunk. Reopen this issue if there are any problems with this.