Skip to content

Commit

Permalink
added a missing $
Browse files Browse the repository at this point in the history
I noticed because I saw that my code was unexpectedly loading
URI::_idna and URI::_punycode.
  • Loading branch information
eserte authored and gisle committed Apr 12, 2012
1 parent 34bf38d commit b4c7de8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion URI/_server.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
Expand Down

0 comments on commit b4c7de8

Please sign in to comment.