linkifyjs icon indicating copy to clipboard operation
linkifyjs copied to clipboard

Domains that start with schemes should be accepted

Open jryans opened this issue 3 years ago • 3 comments

I recently noticed that domains which start with schemes (e.g. http) are currently ignored and not linked.

For example, all of the following should linkify the full text, as they are valid domains:

  • http.org
  • http-help.org
  • http123.org

jryans avatar Jan 25 '22 17:01 jryans

I have already resolved this in a fork of the 4.0 branch. I'm happy to contribute that over here if you'd like.

jryans avatar Jan 25 '22 17:01 jryans

Hi @jryans thanks for reporting. This is now fixed in the latest beta release v4.0.0-beta.3

nfrasser avatar Jan 30 '22 21:01 nfrasser

Thanks for the quick fix! I have verified that v4.0.0-beta.3 indeed resolves this issue. 😄

jryans avatar Jan 31 '22 12:01 jryans