Web Software Architecture and Engineering – Life on the Bleeding Edge

Did you know that the Mozilla Foundation maintains a list of publicly available domains extensions, known as public suffixes? The site says: “Some examples of public suffixes are ‘.com’, ‘.co.uk’ and ‘pvt.k12.wy.us’.”
Where does this come in handy? Well, validation for one thing. Most email validation scripts look for length and a “.” after the “@”, even though any text really after the “@” is “valid” (thats another issue). But for public domain email addresses, its always been a “nice to have” to have easy access to an updated list of valid public suffixes, so if someone enters darth@vader.foo, you can tell that is an invalid email address.
Well, here it is: http://publicsuffix.org/. Enjoy!


Comments on: "The Public Suffix List – Valid Domains Extensions" (2)

  1. i wonder if they’ll maintain it next year when anything you want TLDs become available…

  2. […] Th&#1077 Public Suffix List – Valid Domains Extensions « Th&#1077 Byte Stops … Also of interest:Fast and Secure Contact Form 2.8.2 « WordPress Plugins – ExtensionsList of […]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: