--- loncom/lti/ltiauth.pm 2022/02/17 22:35:51 1.34 +++ loncom/lti/ltiauth.pm 2022/03/29 19:37:25 1.35 @@ -1,7 +1,7 @@ # The LearningOnline Network # Basic LTI Authentication Module # -# $Id: ltiauth.pm,v 1.34 2022/02/17 22:35:51 raeburn Exp $ +# $Id: ltiauth.pm,v 1.35 2022/03/29 19:37:25 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -30,6 +30,7 @@ package Apache::ltiauth; use strict; use LONCAPA qw(:DEFAULT :match); +use Encode; use Apache::Constants qw(:common :http); use Apache::lonlocal; use Apache::lonnet; @@ -63,7 +64,7 @@ sub handler { my $params = {}; foreach my $key (sort(keys(%env))) { if ($key =~ /^form\.(.+)$/) { - $params->{$1} = $env{$key}; + $params->{$1} = &Encode::decode('UTF-8',$env{$key}); } } #