You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 30, 2020. It is now read-only.
Repository navigation
This repository was archived by the owner on Jan 30, 2020. It is now read-only.
setUri() invalidates relative URI when setting default ports #36
when setting a relative URI /example the Zend\Http\Client::setUri() method adds a default port and so invalidates the URI resulting in isValidRelative() returning FALSE instead of TRUE.
I don't know how to build a patch, but line 323 of Client.php should be if (! $this->getUri()->getPort() && $this->getUri()->isAbsolute()) {
instead of if (! $this->getUri()->getPort()) {
Activity
Fixes zendframework#36 Client::setUri() should keep relative uri status
samsonasik commentedon May 6, 2018
@antiphp I've created PR #149 for it
Fixes zendframework#36 Client::setUri() should keep relative uri status
Merge pull request #149 from samsonasik/fix-36
Merge branch 'hotfix/149'