laminas / laminas-oauth

BSD 3-Clause "New" or "Revised" License
8 stars 12 forks source link

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

Closed weierophinney closed 3 years ago

weierophinney commented 4 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


Originally posted by @jkuwait at https://github.com/zendframework/ZendOAuth/issues/17

weierophinney commented 3 years ago

This package is considered feature-complete, and is now in security-only maintenance mode, following a decision by the Technical Steering Committee. If you have a security issue, please follow our security reporting guidelines. If you wish to take on the role of maintainer, please nominate yourself

If you are looking for an actively maintained package alternative, we recommend: