From 9764a9e33ee281bec7de2001230a37caccede199 Mon Sep 17 00:00:00 2001 From: Alex Arnaud Date: Wed, 12 May 2021 16:35:53 +0200 Subject: [PATCH] Bug 28332: Fix data encoding when requesting Mana token --- admin/share_content.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/share_content.pl b/admin/share_content.pl index 0996f16..758e40f 100755 --- a/admin/share_content.pl +++ b/admin/share_content.pl @@ -68,7 +68,7 @@ if ( $op eq 'send' && not $bad_url ) { my $name = $query->param('name'); my $email = $query->param('email'); - my $content = to_json({name => $name, + my $content = encode_json({name => $name, email => $email}); my $url = "$mana_base/getsecuritytoken"; -- 2.7.4