Skip to content

Commit

Permalink
Item13881: Fix unicode column headings
Browse files Browse the repository at this point in the history
Not sure why we need this here.  Looks like any use of query parameters
needs to have them decoded.

Shouldn't this be done in the Foswiki::Request::param() method?
  • Loading branch information
gac410 committed Dec 11, 2015
1 parent c9e65de commit 21233b5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion TablePlugin/lib/Foswiki/Plugins/TablePlugin/Core.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1897,8 +1897,10 @@ sub handler {
@origTable = $cgi->multi_param('table');
@origUp = $cgi->multi_param('up'); # NOTE: internal parameter
$cgi->delete( 'sortcol', 'table', 'up' );
$url = $cgi->url( -absolute => 1, -path => 1 ) . '?';
$url =
Foswiki::decode_utf8( $cgi->url( -absolute => 1, -path => 1 ) . '?' );
my $queryString = $cgi->query_string();

if ($queryString) {
$url .= $queryString . ';';
}
Expand Down

0 comments on commit 21233b5

Please sign in to comment.