Skip to content
This repository was archived by the owner on Dec 16, 2021. It is now read-only.

Conversation

@jcoby
Copy link
Contributor

@jcoby jcoby commented Nov 18, 2014

OAuth2 auth fails when a custom arg_separator.output is defined. Change http_build_query calls to force '&' arg separator.

OAuth2 auth fails when a custom arg_separator.output is defined. Change http_build_query calls to force '&' arg separator.
@WoogieNoogie
Copy link
Contributor

I'm wondering how this problem came up for you. In what case do are you defining a custom arg separator?

@jcoby
Copy link
Contributor Author

jcoby commented Dec 3, 2014

Yes I work on an older codebase that has a custom arg_separator defined as &.

This change should be safe for everyone (the default is &) and it brings the call into parity with the http_build_query call in BaseService::buildUrl.

@WoogieNoogie
Copy link
Contributor

Great, thanks for explaining. We'll get this merged in for our next bugfix release. In the meantime, if you build from the composer version dev-development, you can get this fix.

WoogieNoogie added a commit that referenced this pull request Dec 3, 2014
Fix OAuth2 when custom arg_separator.output is defined
@WoogieNoogie WoogieNoogie merged commit 08d687d into constantcontact:development Dec 3, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants