From c7b30b56fb7328fcd4a73e056b81f67fc9ea7fc4 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 Authored-by: Alex Arnaud --- 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 89dd4e0cdb..7712de3c47 100755 --- a/admin/share_content.pl +++ b/admin/share_content.pl @@ -67,7 +67,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.20.1