Subject: | Re: File a bug for ParseUtil::Domain |
Date: | Fri, 26 Jul 2013 10:25:47 -0700 |
To: | "bug-ParseUtil-Domain [...] rt.cpan.org" <bug-ParseUtil-Domain [...] rt.cpan.org> |
From: | Matt Yang <twmattyoung [...] gmail.com> |
Hi Travis,
Thanks for your promptly reply. The domain looks also invalid to me and I
agree with you. But is there any way I can let the module continues without
stopping my following procedures?
Can we return 'undef' from parse_domain() if we see the parameter is
invalid? Can you suggest some ad hoc so I can do it from my end now?
Thanks again.
On Thursday, July 25, 2013, William Travis Holton via RT wrote:
Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=87339 >
>
> Hi,
>
> I did some checking as I was not sure myself if Nominet had changed their
> rules, and I believe the problem that domains registered directly under .uk
> are not possible. Nominet only allows domain registrations under a specific
> set of second level domains. The list can be found in Appendix A of this
> web page:
>
>
> http://www.nominet.org.uk/uk-domain-names/registering-uk-domain/choosing-domain-name/rules
>
> My module is intended to only allow valid domains and "carbuyer.uk" is
> strictly speaking not a valid domain name. If you still think this is an
> error or can find documentation of domains directly under .uk, I'd be happy
> to change the module to allow them.
>
> Regards,
>
> Travis Holton
>
--
Matt Yang