Closed (duplicate)
Project:
Link
Version:
6.x-2.9
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
23 Mar 2011 at 17:57 UTC
Updated:
23 Mar 2014 at 01:07 UTC
Jump to comment: Most recent
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 :/.
| Comment | File | Size | Author |
|---|---|---|---|
| link_allow_configurable_domains.patch | 1.77 KB | hefox |
Comments
Comment #1
nicholasthompsonI 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.
Comment #2
jcfiala commentedHey folks. I got this fixed by backporting some of the link 7.x-1.x code in #2223571: Support for new TLD's.