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

URL-DETECTOR fails to detect a valid URL #28

Open
cohendekel opened this issue Jul 1, 2019 · 1 comment
Open

URL-DETECTOR fails to detect a valid URL #28

cohendekel opened this issue Jul 1, 2019 · 1 comment

Comments

@cohendekel
Copy link

Executing the following code Url.create("http://013.xxx/");
is resolved with the following error:

java.net.MalformedURLException: We couldn't find any urls in string: http://013.xxx/
	at com.linkedin.urls.Url.create(Url.java:69)

It looks like as if the utility treats the xxx part as invalid ip instead of a valid suffix.
Excepted result:
Url should be created, host should be 013.xxx

@cohendekel
Copy link
Author

if anyone interested, we fixed it and other bugs in our forked library:
https://github.com/URL-Detector/URL-Detector

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

No branches or pull requests

1 participant