Links to test/local boxes are erroring out, as they have fake domains. Instead of using real tld, it'd be much more convenient if could configure what tlds are allowed/disallowed (could also be useful if a new domain comes out, and for #496896: Link module treats .tesa as an invalid domain name (not sure if .tesa is a real tld?)).

There is no general link configuration page, so right now patch just adds a hidden variable like filter_allowed_protocols is :/.

CommentFileSizeAuthor
link_allow_configurable_domains.patch1.77 KBhefox
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

nicholasThompson’s picture

I would like to second this feature request; all my local dev sites are on ".dev" domains (defined by a hosts file).

A variable file would be a good starting point. An alternative would be to have a function which defines an array, passes it off in a drupal_alter() call and returns it (it should also statically cache too). This would allow us to have a "devsite" module which tweaks for our own needs.

jcfiala’s picture

Issue summary: View changes
Status: Needs review » Closed (duplicate)

Hey folks. I got this fixed by backporting some of the link 7.x-1.x code in #2223571: Support for new TLD's.