Skip to content

Issue 62 fix #63

New issue

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

Merged
merged 2 commits into from
Jul 8, 2015
Merged

Issue 62 fix #63

merged 2 commits into from
Jul 8, 2015

Conversation

cmbrandenburg
Copy link
Contributor

This pull request fixes issue #62.

Calling `authority` on URI with empty-string port crashes #62

This test case builds a URI with the authority `www.example.com:` and then
gets that authority from the constructed `uri` instance.
This fix modifies the `uri::authority()` function to guard against an access
violation if the port is initialized but empty.
glynos added a commit that referenced this pull request Jul 8, 2015
@glynos glynos merged commit 1cd46a2 into cpp-netlib:master Jul 8, 2015
@glynos
Copy link
Member

glynos commented Jul 8, 2015

LGTM, Craig. Thanks!

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

Successfully merging this pull request may close these issues.

2 participants