Skip to content
This repository has been archived by the owner on Jan 21, 2020. It is now read-only.

fix ZendOAuth\Client\prepareOAuth to statuses/update_with_media #17

Open
jkuwait opened this issue Dec 19, 2013 · 1 comment
Open

fix ZendOAuth\Client\prepareOAuth to statuses/update_with_media #17

jkuwait opened this issue Dec 19, 2013 · 1 comment

Comments

@jkuwait
Copy link

jkuwait commented Dec 19, 2013

                $oauthHeaderValue = $this->getToken()->toHeader(
                    $this->getRequest()->getUriString(),
                    $this->_config,
                    $this->_getSignableParameters()
                );

to

                $oauthHeaderValue = $this->getToken()->toHeader(
                    $this->getRequest()->getUriString(),
                    $this->_config,
                    (($this->getEncType() == self::ENC_FORMDATA) ? NULL : $this->_getSignableParameters())
                );

The former does not work with statuses/update_with_media
If there is a better solution I hope that reform
Thank you

@weierophinney
Copy link
Member

This repository has been closed and moved to laminas/laminas-oauth; a new issue has been opened at laminas/laminas-oauth#7.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants