When I try to fill in a URL with the Top-Level-Domain .corp I'm getting a 'Not a valid URL' Error Message.

For all those who are facing the same issue:
In the file sites/all/modules/link/link.module in line 13 you can simply add the missing domain ending for a quick fix.

Regards

Comments

skobe’s picture

That line should look as follows now:

define('LINK_DOMAINS', 'aero|arpa|asia|biz|com|cat|coop|edu|gov|info|int|jobs|mil|museum|name|nato|net|org|pro|travel|mobi|local|corp');
Anonymous’s picture

Issue summary: View changes
Status: Active » Closed (duplicate)

All of the separate issues concerning validation failure with newer top-level domains are resolved by the patch at https://www.drupal.org/node/1846202. Rather than adding TLDs one by one to the LINK_DOMAINS constant, that patch actually updates from an official list of active TLDs from IANA, so as new TLDs are approved, they will automatically become valid in this module. Please go test & review the patch & mark as RTBC.