Closed (duplicate)
Project:
Link
Version:
7.x-1.1
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
11 Mar 2013 at 12:03 UTC
Updated:
15 Apr 2015 at 20:55 UTC
Jump to comment: Most recent
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
Comment #1
skobe commentedThat line should look as follows now:
Comment #2
Anonymous (not verified) commentedAll 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_DOMAINSconstant, 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.