diff options
Diffstat (limited to 'lib/LXRng/Context.pm')
-rw-r--r-- | lib/LXRng/Context.pm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/LXRng/Context.pm b/lib/LXRng/Context.pm index fe1a0fe..959151b 100644 --- a/lib/LXRng/Context.pm +++ b/lib/LXRng/Context.pm @@ -47,7 +47,11 @@ sub new { $$self{'req_base'} = $host.$ENV{'SCRIPT_NAME'}; foreach my $p ($args{'query'}->param) { - $$self{'params'}{$p} = [$args{'query'}->param($p)]; + my @val = $args{'query'}->param($p); + for (@val) { + utf8::upgrade($_); + } + $$self{'params'}{$p} = [@val]; } my @prefs = $args{'query'}->cookie('lxr_prefs'); if (@prefs) { |