Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Check if census endpoint is a URL before trying to parse it as a path. #10
Looking into the source code this seems to be because the fallback endpoint for getting the OpenJDK census is used, a URL, which is not a valid path (at least not on Windows), so the check to see if we're dealing with a path or not fails when parsing the path.
This PR switches to a regular expression for checking whether the endpoint is a URL or not (by checking if it starts with
@JornVernee This change can now be integrated. The commit message will be:
As you do not have Committer status in this project, an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@edvbld) but any other Committer may sponsor as well.