# This file documents the revision history for Perl extension Catalyst.
+ Bug fixed:
+ - uri_for will now escape unsafe chars in captures and encode utf8 chars
+
5.80020 2010-02-04 06:51:18
New features:
(map {
my $param = "$_";
utf8::encode( $param ) if utf8::is_utf8($param);
+ # using the URI::Escape pattern here so utf8 chars survive
$param =~ s/([^A-Za-z0-9\-_.!~*'() ])/$URI::Escape::escapes{$1}/go;
$param =~ s/ /+/g;
"${key}=$param"; } ( ref $val eq 'ARRAY' ? @$val : $val ));