Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Only encode body in oauth signature if the content-type is x-www-form-urlencoded #11

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

david-richer-adsk
Copy link

No description provided.

var extra_params = this._oauth_query;

if ('application/x-www-form-urlencoded' == type && isObject(this._data)) {
if(!extra_params) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about swap this? if (extra_params) {…

@david-richer-adsk
Copy link
Author

Reverse the if as requested

@thetrebor
Copy link

Can you merge this and package it for NPM? It's causing issues in some of my projects that i have to patch manually until this is handled

@dreadjr
Copy link

dreadjr commented Dec 17, 2015

Please merge this change in, is this package even maintained anymore?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants