Permalink
Browse files

added a missing $

I noticed because I saw that my code was unexpectedly loading
URI::_idna and URI::_punycode.
  • Loading branch information...
1 parent 34bf38d commit b4c7de8e9b964803aacc33e641a7706720ac5f41 @eserte eserte committed with gisle Apr 12, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 URI/_server.pm
View
@@ -19,7 +19,7 @@ sub _uric_escape {
}
sub _host_escape {
- return unless $_[0] =~ /[^URI::uric]/;
+ return unless $_[0] =~ /[^$URI::uric]/;
eval {
require URI::_idna;
$_[0] = URI::_idna::encode($_[0]);

0 comments on commit b4c7de8

Please sign in to comment.