You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The options for how this could be implemented are:
Option1: Hardcode the latest whitelist into each release of Linkify
Option2: Have the user's application manage/source the whitelist of TLDs, then pass them into Linkify
Option3: Option1 baked in by default, with the option for Option2
Seeing this is a small library that doesn't need regular releases anyway, option Option1 might be overkill here. And Option2 allows us to ensure they we're always using an up-to-date whitelist.
The text was updated successfully, but these errors were encountered:
hi2u
changed the title
Support for http/www-less URLs (just base domains)
Support for http+www-less URLs (just base domains)
Feb 21, 2017
hi2u
changed the title
Support for http+www-less URLs (just base domains)
Support for URLs without both http and www (just base domains)
Feb 21, 2017
The library detects "www.example.com", but not "example.com"
Obviously we're getting close to the area of false positives here, but I think this can be countered by using a whitelist of top-level domains...
http://data.iana.org/TLD/tlds-alpha-by-domain.txt
The options for how this could be implemented are:
Seeing this is a small library that doesn't need regular releases anyway, option Option1 might be overkill here. And Option2 allows us to ensure they we're always using an up-to-date whitelist.
The text was updated successfully, but these errors were encountered: