zendframework / ZendOAuth

BSD 3-Clause "New" or "Revised" License
19 stars 22 forks source link

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

Open jkuwait opened 10 years ago

jkuwait commented 10 years ago
                $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 commented 4 years ago

This repository has been closed and moved to laminas/laminas-oauth; a new issue has been opened at https://github.com/laminas/laminas-oauth/issues/7.