commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brit...@apache.org
Subject svn commit: r1637650 - /commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/DomainValidator.java
Date Sun, 09 Nov 2014 11:07:12 GMT
Author: britter
Date: Sun Nov  9 11:07:11 2014
New Revision: 1637650

URL: http://svn.apache.org/r1637650
Log:
VALIDATOR-305: Some TLDs are missing from DomainValidator. Thanks to Ar┼źnas Bendoraitis.

Modified:
    commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/DomainValidator.java

Modified: commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/DomainValidator.java
URL: http://svn.apache.org/viewvc/commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/DomainValidator.java?rev=1637650&r1=1637649&r2=1637650&view=diff
==============================================================================
--- commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/DomainValidator.java
(original)
+++ commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/DomainValidator.java
Sun Nov  9 11:07:11 2014
@@ -220,44 +220,88 @@ public class DomainValidator implements 
     };
 
     private static final String[] GENERIC_TLDS = new String[] {
+        "abogado",
         "academy",
+        "accountants",
+        "active",
         "actor",
-        "aero",               // air transport industry
+        "aero",
         "agency",
+        "airforce",
+        "allfinanz",
+        "alsace",
         "archi",
-        "asia",               // Pan-Asia/Asia Pacific
+        "army",
+        "arpa",
+        "asia",
+        "associates",
+        "attorney",
+        "auction",
+        "audio",
+        "autos",
         "axa",
+        "band",
         "bar",
         "bargains",
+        "bayern",
+        "beer",
         "berlin",
         "best",
         "bid",
         "bike",
-        "biz",                // businesses
+        "bio",
+        "biz",
         "black",
+        "blackfriday",
         "blue",
+        "bmw",
+        "bnpparibas",
+        "boo",
         "boutique",
+        "brussels",
+        "budapest",
         "build",
         "builders",
+        "business",
         "buzz",
+        "bzh",
         "cab",
+        "cal",
         "camera",
         "camp",
+        "cancerresearch",
+        "capetown",
+        "capital",
+        "caravan",
         "cards",
+        "care",
+        "career",
         "careers",
-        "cat",                // Catalan linguistic/cultural community
+        "casa",
+        "cash",
+        "cat",
         "catering",
         "center",
         "ceo",
+        "cern",
+        "channel",
         "cheap",
         "christmas",
+        "chrome",
+        "church",
+        "citic",
+        "city",
+        "claims",
         "cleaning",
+        "click",
+        "clinic",
         "clothing",
         "club",
         "codes",
         "coffee",
+        "college",
         "cologne",
-        "com",                // commercial enterprises
+        "com",
         "community",
         "company",
         "computer",
@@ -267,157 +311,328 @@ public class DomainValidator implements 
         "contractors",
         "cooking",
         "cool",
-        "coop",               // cooperative associations
+        "coop",
         "country",
+        "credit",
+        "creditcard",
+        "crs",
         "cruises",
+        "cuisinella",
+        "cymru",
+        "dad",
         "dance",
         "dating",
+        "day",
+        "deals",
+        "degree",
         "democrat",
+        "dental",
+        "dentist",
+        "desi",
         "diamonds",
+        "diet",
+        "digital",
+        "direct",
         "directory",
+        "discount",
         "dnp",
-        "domains", 
-        "edu",                // accredited postsecondary US education entities
+        "domains",
+        "durban",
+        "dvag",
+        "eat",
+        "edu",
         "education",
         "email",
+        "engineer",
+        "engineering",
         "enterprises",
         "equipment",
+        "esq",
         "estate",
+        "eus",
         "events",
+        "exchange",
         "expert",
         "exposed",
+        "fail",
         "farm",
+        "feedback",
+        "finance",
+        "financial",
         "fish",
         "fishing",
+        "fitness",
         "flights",
         "florist",
+        "flsmidth",
+        "fly",
+        "foo",
+        "forsale",
         "foundation",
+        "frl",
+        "frogans",
+        "fund",
+        "furniture",
         "futbol",
+        "gal",
         "gallery",
+        "gbiz",
+        "gent",
         "gift",
-        "glass", 
-        "gov",                // United States Government
+        "gifts",
+        "gives",
+        "glass",
+        "gle",
+        "global",
+        "globo",
+        "gmail",
+        "gmo",
+        "gmx",
+        "google",
+        "gop",
+        "gov",
         "graphics",
+        "gratis",
+        "green",
+        "gripe",
+        "guide",
         "guitars",
         "guru",
+        "hamburg",
         "haus",
+        "healthcare",
+        "help",
+        "here",
+        "hiphop",
+        "hiv",
         "holdings",
         "holiday",
+        "homes",
         "horse",
+        "host",
+        "hosting",
         "house",
+        "how",
+        "ibm",
+        "immo",
         "immobilien",
         "industries",
-        "info",               // informational sites
+        "info",
+        "ing",
         "ink",
         "institute",
-        "int",                // organizations established by international treaty
+        "insure",
+        "int",
         "international",
+        "investments",
         "jetzt",
-        "jobs",               // Human Resource managers
+        "jobs",
+        "joburg",
+        "juegos",
         "kaufen",
         "kim",
         "kitchen",
         "kiwi",
         "koeln",
+        "krd",
         "kred",
+        "lacaixa",
         "land",
+        "lawyer",
+        "lease",
+        "lgbt",
+        "life",
         "lighting",
+        "limited",
         "limo",
         "link",
+        "loans",
         "london",
+        "lotto",
+        "ltda",
+        "luxe",
         "luxury",
         "maison",
         "management",
         "mango",
+        "market",
         "marketing",
+        "media",
         "meet",
+        "melbourne",
+        "meme",
         "menu",
         "miami",
-        "mil",                // United States Military
-        "mobi",               // mobile products and services
+        "mil",
+        "mini",
+        "mobi",
         "moda",
         "moe",
         "monash",
-        "museum",             // museums, surprisingly enough
+        "mortgage",
+        "moscow",
+        "motorcycles",
+        "mov",
+        "museum",
         "nagoya",
-        "name",               // individuals' sites
-        "net",                // internet support infrastructure/business
+        "name",
+        "navy",
+        "net",
+        "network",
         "neustar",
+        "new",
+        "nexus",
+        "ngo",
+        "nhk",
         "ninja",
+        "nra",
+        "nrw",
         "nyc",
         "okinawa",
+        "ong",
         "onl",
-        "org",                // noncommercial organizations
+        "ooo",
+        "org",
+        "organic",
+        "otsuka",
+        "ovh",
+        "paris",
         "partners",
         "parts",
+        "pharmacy",
         "photo",
         "photography",
         "photos",
+        "physio",
         "pics",
+        "pictures",
         "pink",
+        "pizza",
+        "place",
         "plumbing",
+        "pohl",
+        "poker",
         "post",
-        "pro",                // credentialed professionals and entities
+        "praxi",
+        "press",
+        "pro",
+        "prod",
         "productions",
+        "prof",
         "properties",
+        "property",
         "pub",
         "qpon",
+        "quebec",
+        "realtor",
         "recipes",
         "red",
+        "rehab",
+        "reise",
+        "reisen",
         "ren",
         "rentals",
         "repair",
         "report",
+        "republican",
         "rest",
+        "restaurant",
         "reviews",
         "rich",
+        "rio",
+        "rip",
+        "rocks",
         "rodeo",
+        "rsvp",
         "ruhr",
+        "ryukyu",
         "saarland",
+        "sarl",
+        "sca",
+        "scb",
+        "schmidt",
+        "schule",
+        "scot",
+        "services",
         "sexy",
         "shiksha",
         "shoes",
         "singles",
         "social",
+        "software",
         "sohu",
         "solar",
         "solutions",
+        "soy",
+        "space",
+        "spiegel",
         "supplies",
         "supply",
         "support",
+        "surf",
+        "surgery",
+        "suzuki",
         "systems",
+        "tatar",
         "tattoo",
+        "tax",
         "technology",
-        "tel",                // contact data for businesses and individuals
+        "tel",
         "tienda",
         "tips",
+        "tirol",
         "today",
         "tokyo",
         "tools",
+        "top",
+        "town",
+        "toys",
         "trade",
-        "training",  
-        "travel",             // entities in the travel industry
+        "training",
+        "travel",
+        "tui",
+        "university",
         "uno",
+        "uol",
         "vacations",
         "vegas",
         "ventures",
+        "versicherung",
+        "vet",
         "viajes",
         "villas",
         "vision",
+        "vlaanderen",
         "vodka",
         "vote",
         "voting",
         "voto",
         "voyage",
+        "wales",
         "wang",
         "watch",
         "webcam",
+        "website",
         "wed",
+        "wedding",
+        "whoswho",
         "wien",
         "wiki",
+        "williamhill",
+        "wme",
+        "work",
         "works",
-        "xxx",                // pornographic sites on the Internet
+        "world",
+        "wtc",
+        "wtf",
+        "xxx",
         "xyz",
+        "yachts",
+        "yandex",
+        "yoga",
+        "yokohama",
+        "youtube",
+        "zip",
         "zone",
     };
 



Mime
View raw message