daviddesberg / PHPoAuthLib

PHP 5.3+ oAuth 1/2 Client Library
Other
1.09k stars 456 forks source link

Fix sign URL with array param #597

Open jeroenvermeulen opened 6 months ago

jeroenvermeulen commented 6 months ago

Fixes #596

I let http_build_query do the work of recursively URL encoding the query parameters, we no longer need the method buildSignatureDataString. Added method ksortRecursive to sort array URL parameters recursively.