robinst / autolink-java

Java library to extract links (URLs, email addresses) from plain text; fast, small and smart
MIT License
207 stars 40 forks source link

URL Parsing getting stuck for non clickable URL #24

Closed vinay1984 closed 6 years ago

vinay1984 commented 6 years ago

Hi Author,

I love this frame work it very nice and robust. I recently came across parsing non clickable URL resulting partial URL .

Can you suggest any workaround for this issue

input : https://us[.]quarantine[.]abc[.]com/notify/ Output : https://us

robinst commented 6 years ago

I just pushed a test case for this and it works as expected, see commit 40f18ae.

Can you post the full code that you're using? Maybe something else is wrong.

vinay1984 commented 6 years ago

we had hidden html content. that html had wrong partial url in href. please close this ticket it`s working as expected

robinst commented 6 years ago

Ok, good to hear!