Permalink
Browse files

don't need to unescape the apikey

  • Loading branch information...
1 parent 36cb502 commit afa0b5bd98098e1a5a0dd3185e70cd1ce2b4d80a @gray committed Sep 30, 2009
Showing with 1 addition and 4 deletions.
  1. +1 −4 lib/Geo/Coder/Multimap.pm
View
5 lib/Geo/Coder/Multimap.pm
@@ -8,7 +8,6 @@ use Encode ();
use JSON;
use LWP::UserAgent;
use URI;
-use URI::Escape qw(uri_unescape);
our $VERSION = '0.01';
$VERSION = eval $VERSION;
@@ -18,9 +17,7 @@ sub new {
my $key = $params{apikey} or croak q('apikey' is required);
- my $self = bless {
- key => uri_unescape($key),
- }, $class;
+ my $self = bless { key => $key }, $class;
if ($params{ua}) {
$self->ua($params{ua});

0 comments on commit afa0b5b

Please sign in to comment.