Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #19482

Re: (extra) parsing (and verifying of) URL's via java.net.URI ...

Newsgroups comp.lang.java.programmer
Date 2012-10-23 05:34 -0700
References <k611qi$ftq$1@speranza.aioe.org>
Message-ID <3d5444c8-b2bf-40d9-93f1-7e9390f1a24b@googlegroups.com> (permalink)
Subject Re: (extra) parsing (and verifying of) URL's via java.net.URI ...
From paul.cager@googlemail.com

Show all headers | View raw


On Sunday, October 21, 2012 3:45:43 PM UTC+1, qwert...@syberianoutpost.ru wrote:
>  this would be an extra feature, but it would be nice if as part of the API
>  you could tell apart what is a TLD, as well as suffixes that some regional
>  registrar authorities mark as not publicly available.

I think markspace's advice is best as there is no foolproof way to determine if a string is a host name or a domain name (even if you look at DNS "A" / "AAA" records).

But maybe http://publicsuffix.org/list/ (was https://wiki.mozilla.org/TLD_List) will help you do whatever it is you want to do.

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

(extra) parsing (and verifying of) URL's via java.net.URI ... qwertmonkey@syberianoutpost.ru - 2012-10-21 14:45 +0000
  Re: (extra) parsing (and verifying of) URL's via java.net.URI ... markspace <-@.> - 2012-10-21 09:43 -0700
  Re: (extra) parsing (and verifying of) URL's via java.net.URI ... Arne Vajhoej <arne@vajhoej.dk> - 2012-10-21 13:53 -0400
  Re: (extra) parsing (and verifying of) URL's via java.net.URI ... Roedy Green <see_website@mindprod.com.invalid> - 2012-10-23 04:29 -0700
  Re: (extra) parsing (and verifying of) URL's via java.net.URI ... paul.cager@googlemail.com - 2012-10-23 05:34 -0700

csiph-web