Commit 3227422e authored by sunnavy's avatar sunnavy
Browse files

decode $m->request_args->{Query} first to avoid double encode

parent a53f343f
......@@ -50,8 +50,9 @@ my $request_path = $HTML::Mason::Commands::r->path_info;
if ( $request_path =~ qr{^/Search/Results.html} ) {
my $tabs = PageMenu;
require Encode;
$tabs->child( 'gantt' => title => loc('Gantt Chart'),
path => '/Search/JSGantt.html?Query=' .$m->request_args->{'Query'} );
path => '/Search/JSGantt.html?Query=' . Encode::decode_utf8 $m->request_args->{'Query'} );
}
</%INIT>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment