Skip Menu |

This queue is for tickets about the NetAddr-IP CPAN distribution.

Report information
The Basics
Id: 96371
Status: resolved
Worked: 15 min
Priority: 0/
Queue: NetAddr-IP

People
Owner: Nobody in particular
Requestors: grankio [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Unable to resolve hostname containing underscore
Date: Wed, 11 Jun 2014 13:27:13 +0200
To: bug-NetAddr-IP [...] rt.cpan.org
From: Francesco Schiavarelli <grankio [...] gmail.com>
Hello, NetAddr::IP::Lite won't resolve hostnames containing the underscore character. I know that per IETF RFCs underscores are not allowed within hostname, but they should be allowed in domain names (see this Wikipedia page <http://en.wikipedia.org/wiki/Hostname#Restrictions_on_valid_host_names>). Given that: - every other piece of GNU software I've been working with is tolerant in respect to the aforementioned restriction - underscores should be allowed in domain names I'm asking if you are willing to accept upstream the attached patch that does not prevent NetAddr from working when instantiated with hostname containing underscores. thank you regards

Message body is not shown because sender requested not to inline it.

Fixed in NetAddr::IP 4.074 On Wed Jun 11 07:27:24 2014, grankio@gmail.com wrote: Show quoted text
> Hello, > > NetAddr::IP::Lite won't resolve hostnames containing > the underscore character. > > I know that per IETF RFCs underscores are not allowed > within hostname, but they should be allowed in domain > names (see this Wikipedia page > <http://en.wikipedia.org/wiki/Hostname#Restrictions_on_valid_host_names>). > > Given that: > > - every other piece of GNU software I've been working with > is tolerant in respect to the aforementioned restriction > - underscores should be allowed in domain names > > I'm asking if you are willing to accept upstream the attached > patch that does not prevent NetAddr from working when > instantiated with hostname containing underscores. > > thank you > regards
Subject: Re: [rt.cpan.org #96371] Unable to resolve hostname containing underscore
Date: Thu, 12 Jun 2014 18:08:56 +0200
To: bug-NetAddr-IP [...] rt.cpan.org
From: Francesco Schiavarelli <grankio [...] gmail.com>
Wow... that was fast! thank you for the prompt reply regards On Wed, Jun 11, 2014 at 6:42 PM, Michael Robinton via RT < bug-NetAddr-IP@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=96371 > > > Fixed in NetAddr::IP 4.074 > > > On Wed Jun 11 07:27:24 2014, grankio@gmail.com wrote:
> > Hello, > > > > NetAddr::IP::Lite won't resolve hostnames containing > > the underscore character. > > > > I know that per IETF RFCs underscores are not allowed > > within hostname, but they should be allowed in domain > > names (see this Wikipedia page > > <http://en.wikipedia.org/wiki/Hostname#Restrictions_on_valid_host_names > >). > > > > Given that: > > > > - every other piece of GNU software I've been working with > > is tolerant in respect to the aforementioned restriction > > - underscores should be allowed in domain names > > > > I'm asking if you are willing to accept upstream the attached > > patch that does not prevent NetAddr from working when > > instantiated with hostname containing underscores. > > > > thank you > > regards
> > > >