Permalink
Browse files

CPAN Release 0.09

  • Loading branch information...
1 parent df74194 commit 58a48d27f1a4adf95ff5ffbbc69af3f5e0485e5e @mithun committed Mar 5, 2013
Showing with 34 additions and 29 deletions.
  1. +4 −5 .author/benchmark.pl
  2. +6 −0 Changes
  3. +3 −3 LICENSE
  4. +2 −2 META.json
  5. +2 −2 META.yml
  6. +9 −9 README
  7. +8 −8 readme.mkdn
View
@@ -32,20 +32,19 @@
print "Encoding URL: $url\n";
print "Using URI::Escape ($URI::Escape::VERSION)\t-> "
- . URI::Escape::uri_escape_utf8( $url, $reserved_re ) . "\n";
+ . URI::Escape::uri_escape_utf8( $url, $reserved_re ) . "\n";
print "Using URI::Escape::XS ($URI::Escape::XS::VERSION)\t-> "
- . URI::Escape::XS::uri_escape( $url, $reserved_re ) . "\n";
+ . URI::Escape::XS::uri_escape( $url, $reserved_re ) . "\n";
print "Using URI::Encode ($URI::Encode::VERSION)\t-> "
- . $obj_uri_encode->encode($url) . "\n";
+ . $obj_uri_encode->encode($url) . "\n";
####################
# RUN BENCH
####################
print "\n\nBenchmarking $num_of_iters iterations on Perl $] ($^O)\n\n";
cmpthese(
- $num_of_iters,
- {
+ $num_of_iters, {
'URI::Escape' => sub {
URI::Escape::uri_escape_utf8( $url, $reserved_re );
},
View
@@ -2,6 +2,12 @@ Version History for URI-Encode
Mithun Ayachit
+0.09
+====
+
+- [RT #83761] Lower-cased encoded characters were not being decoded.
+ Fixed now. Thanks David Arenillas ...
+
0.08
====
View
@@ -1,4 +1,4 @@
-This software is copyright (c) 2012 by Mithun Ayachit <mithun@cpan.org>.
+This software is copyright (c) 2013 by Mithun Ayachit <mithun@cpan.org>.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
@@ -12,7 +12,7 @@ b) the "Artistic License"
--- The GNU General Public License, Version 1, February 1989 ---
-This software is Copyright (c) 2012 by Mithun Ayachit <mithun@cpan.org>.
+This software is Copyright (c) 2013 by Mithun Ayachit <mithun@cpan.org>.
This is free software, licensed under:
@@ -272,7 +272,7 @@ That's all there is to it!
--- The Artistic License 1.0 ---
-This software is Copyright (c) 2012 by Mithun Ayachit <mithun@cpan.org>.
+This software is Copyright (c) 2013 by Mithun Ayachit <mithun@cpan.org>.
This is free software, licensed under:
View
@@ -41,7 +41,7 @@
"provides" : {
"URI::Encode" : {
"file" : "lib/URI/Encode.pm",
- "version" : "0.08"
+ "version" : "0.09"
}
},
"release_status" : "stable",
@@ -57,5 +57,5 @@
"url" : "git://github.com/mithun/perl-uri-encode.git"
}
},
- "version" : "0.08"
+ "version" : "0.09"
}
View
@@ -22,7 +22,7 @@ name: URI-Encode
provides:
URI::Encode:
file: lib/URI/Encode.pm
- version: 0.08
+ version: 0.09
requires:
Encode: 2.12
perl: v5.8.1
@@ -31,4 +31,4 @@ resources:
homepage: https://github.com/mithun/perl-uri-encode
license: http://dev.perl.org/licenses/
repository: git://github.com/mithun/perl-uri-encode.git
-version: 0.08
+version: 0.09
View
18 README
@@ -50,22 +50,22 @@ The following options can be passed to the constructor
- encode_reserved
- my $encoder = URI::Encode->new({encode_reserved => 0});
+ my $encoder = URI::Encode->new({encode_reserved => 0});
-If true, "Reserved Characters" are also encoded. Defaults to false.
+ If true, "Reserved Characters" are also encoded. Defaults to false.
- double_encode
- my $encoder = URI::Encode->new({double_encode => 1});
+ my $encoder = URI::Encode->new({double_encode => 1});
-If false, characters that are already percent-encoded will not be
-encoded again. Defaults to true.
+ If false, characters that are already percent-encoded will not be
+ encoded again. Defaults to true.
- my $encoder = URI::Encode->new({double_encode => 0});
- print $encoder->encode('http://perl.com/foo%20bar'); # prints http://perl.com/foo%20bar
+ my $encoder = URI::Encode->new({double_encode => 0});
+ print $encoder->encode('http://perl.com/foo%20bar'); # prints http://perl.com/foo%20bar
-encode($url, \\%options)
-------------------------
+encode($url, \%options)
+-----------------------
This method encodes the URL provided. The $url provided is first
converted into UTF-8 before percent encoding. Options set in the
View
@@ -48,21 +48,21 @@ The following options can be passed to the constructor
- encode\_reserved
- my $encoder = URI::Encode->new({encode_reserved => 0});
+ my $encoder = URI::Encode->new({encode_reserved => 0});
-If true, ["Reserved Characters"](#Reserved Characters) are also encoded. Defaults to false.
+ If true, ["Reserved Characters"](#Reserved Characters) are also encoded. Defaults to false.
- double\_encode
- my $encoder = URI::Encode->new({double_encode => 1});
+ my $encoder = URI::Encode->new({double_encode => 1});
-If false, characters that are already percent-encoded will not be
-encoded again. Defaults to true.
+ If false, characters that are already percent-encoded will not be
+ encoded again. Defaults to true.
- my $encoder = URI::Encode->new({double_encode => 0});
- print $encoder->encode('http://perl.com/foo%20bar'); # prints http://perl.com/foo%20bar
+ my $encoder = URI::Encode->new({double_encode => 0});
+ print $encoder->encode('http://perl.com/foo%20bar'); # prints http://perl.com/foo%20bar
-## `encode($url, \\%options)`
+## `encode($url, \%options)`
This method encodes the URL provided. The `$url` provided is first
converted into UTF-8 before percent encoding. Options set in the

0 comments on commit 58a48d2

Please sign in to comment.