Skip Menu |
 

This queue is for tickets about the URI CPAN distribution.

Report information
The Basics
Id: 98381
Status: new
Priority: 0/
Queue: URI

People
Owner: Nobody in particular
Requestors: victor [...] vsespb.ru
Cc:
AdminCc:

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



Subject: host returns punycoded domain
Download (untitled) / with headers
text/plain 359b
=== use strict; use warnings; use URI; use utf8; my $s = "http://hey\x80/"; my $u = URI->new($s); print $u->host; __END__ xn--hey-da === that should be documented (for host method). not everyone needs hostname punycoded. non-punycoded hostnames are prefered (according to punycode spec.) when displaying to user. (yes, i know now that there is ihost method)


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.