diff options
author | Guilhem Moulin <guilhem.moulin@fripost.org> | 2013-01-26 21:54:51 +0100 |
---|---|---|
committer | Guilhem Moulin <guilhem.moulin@fripost.org> | 2013-01-26 21:54:51 +0100 |
commit | 050f245fd22572f36de9339df800757018628449 (patch) | |
tree | 32aec5711c167011bdb4b4b81223dc57b4dd53d4 /lib/Fripost/Panel/Login.pm | |
parent | 5002c89470b511dea3bb8eb64c81a71b7788fa0f (diff) |
Fixed a bug with internationalization.
Diffstat (limited to 'lib/Fripost/Panel/Login.pm')
-rw-r--r-- | lib/Fripost/Panel/Login.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Fripost/Panel/Login.pm b/lib/Fripost/Panel/Login.pm index af40461..1eabafb 100644 --- a/lib/Fripost/Panel/Login.pm +++ b/lib/Fripost/Panel/Login.pm @@ -228,7 +228,8 @@ sub split_path { $uri =~ s/^$script//s; # Strip the facing CGI script name $uri =~ s/\?.*//s; # Strip the query - map { decodeURIComponent($_); Encode::_utf8_on($_); $_ } (split '/', $uri); + map { my $x = decodeURIComponent($_); Encode::_utf8_on($x); $x } + (split '/', $uri); } |