Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I was running into a problem with flickrapi using oauth_connect's DrupalOAuthClient get function - there's a place where it uses http_build_query without providing explicit options and arg_separator was getting a bad default (& instead of &) - this caused requests to be malformed.
I'll attach a patch that provides a default set of arguments to http_build_query as used in other places in this module.
Comment | File | Size | Author |
---|---|---|---|
#1 | oauth-http_build_query_params-1982862-1.patch | 410 bytes | bc |
Comments
Comment #1
bc CreditAttribution: bc commentedpatch attached.
Comment #2
bc CreditAttribution: bc commentedjust rolled out another site with oauth, and ran into this bug again. i'd love to see this pulled into the main branch! :)
Comment #2.0
bc CreditAttribution: bc commented& instead of &