We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version: master (3.0.1)
$url->getHostUrl() returns just scheme when the host is 0.
$url->getHostUrl()
0
$url = new Url('https://0/0'); $url->getHostUrl(); // https:
This is a failing test
$url = new Url('https://0/0'); Assert::same('https://0', $url->getHostUrl());
The host (0) should be included.
I'll send a PR in a second.
The text was updated successfully, but these errors were encountered:
Url, UrlImmutable: includes "empty" hostname ('0') in the host URL (#159
3e0259b
)(#158)
Successfully merging a pull request may close this issue.
Version: master (3.0.1)
Bug Description
$url->getHostUrl()
returns just scheme when the host is0
.Steps To Reproduce
This is a failing test
Expected Behavior
The host (
0
) should be included.Possible Solution
I'll send a PR in a second.
The text was updated successfully, but these errors were encountered: