Hey, there's a lot of new TLD's and in Drupal 6 all of these are disallowed entries and won't let me save my content.

Comments

jcfiala’s picture

Good point! What are some tld that you need, to start with?

parasox’s picture

Hey thanks, the one I need is ".xxx" to be entirely honest! :) Others I'm not sure if you're already included from the past TLD expansion might be .biz, .me, .in

This may also help:

http://www.uniteddomains.com/newgtld-ranking/

jcfiala’s picture

Hmmm.

You know, this is a lot of domains to deal with. I wonder if I need to work with them all automatically, or if some sort of configuration widget would be useful for this.

  • Commit 62e76ff on 6.x-2.x by jcfiala:
    Issue #2223571 by jcfiala:Back-ported configurable domain support from 7...
jcfiala’s picture

Assigned: Unassigned » jcfiala
Status: Active » Fixed

Okay, here's what I did.

For one, I went through the lists of domains at http://en.wikipedia.org/wiki/List_of_Internet_top-level_domains and added a bunch of tlds listed there that weren't listed as "Open TLD", which means that xxx got added.

I also back-ported a feature from the 7.x-1.x branch, which provides the

link_extra_domains

variable, which can be set to an array of tlds that the site needs. Those tlds would then be included in the field's validation.

As a side-note, you can turn off validation for a given link field, which would allow any crazy url you want.

The change should show up in 6.x-2.x-dev sometime tomorrow, and it'll be included in 6.x-2.12 when I pull the trigger on it.

  • Commit df88ef0 on 7.x-1.x by jcfiala:
    Issue #2223571 by jcfiala: Included new tld that had been included into...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

avpaderno’s picture

Issue tags: -TLD, -.TLD, -domain

I am removing issue tags used from one to four issues. I apologize for bumping the issue.

damienmckenna’s picture

Assigned: jcfiala » Unassigned