daviddesberg / PHPoAuthLib

PHP 5.3+ oAuth 1/2 Client Library
Other
1.08k stars 454 forks source link

Can't sign URL with array parameters #596

Open jeroenvermeulen opened 10 months ago

jeroenvermeulen commented 10 months ago

Example Magento 2 REST API URL to sign:

https://domain.com/rest/all/V1/categories/list?searchCriteria[filterGroups][0][filters][0][field]=url_key&searchCriteria[filterGroups][0][filters][0][value]=something

Error:

Warning: rawurlencode() expects parameter 1 to be string, array given in /path/to/vendor/daviddesberg/oauth/src/OAuth/OAuth1/Signature/Signature.php on line 57