Skip to content
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

Update the verification of raw URL string #19

Merged
merged 1 commit into from
Dec 4, 2019
Merged

Conversation

philipgough
Copy link
Contributor

The verifyUrl function uses a ParseRequestURI function from the stdlib,
however if passed a url such as '/' that function will not return an
error.

This left the possibility for a hostname (required by the client) to be
set as zero value.

The verifyUrl function uses a ParseRequestURI function from the stdlib,
however if passed a url such as '/' that function will not return an
error.

This left the possibility for a hostname (required by the client) to be
set as zero value.
@philipgough philipgough requested a review from eguzki December 4, 2019 12:20
@philipgough philipgough merged commit f6fbb21 into master Dec 4, 2019
@philipgough philipgough deleted the verify-updates branch December 4, 2019 13:35
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