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

Don't fail SCMName detection on non-IDN host names #64

Merged
merged 1 commit into from
Jun 14, 2019

Conversation

twz123
Copy link
Contributor

@twz123 twz123 commented Apr 5, 2019

Previously, when passing an URL with a host name that is not a valid IDN to SCMName::from, it failed with an IllegalArgumentException. This especially affects the case when the host name is an IP address. Make this method a bit more graceful by returning null instead.

Previously, when passing an URL with a host name that is not a valid IDN to SCMName::from, it failed with an IllegalArgumentException. This especially affects the case when the host name is an IP address. Make this method a bit more graceful by returning null instead.
@MarkEWaite
Copy link
Contributor

The CI failure is due to a JDK 11 javadoc problem on the master branch which will be resolved when #66 is merged.

@bitwiseman bitwiseman merged commit 0df3c15 into jenkinsci:master Jun 14, 2019
@twz123
Copy link
Contributor Author

twz123 commented Jun 15, 2019

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.

3 participants