From 173d5a54a680df4c270dfe5baf4db43af2080ab3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Mon, 2 Oct 2017 12:07:54 +0200 Subject: [PATCH] Request: cgi korrekt lesen wenn form leer ist --- SL/Request.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SL/Request.pm b/SL/Request.pm index 00744ac0d..75cac69bb 100644 --- a/SL/Request.pm +++ b/SL/Request.pm @@ -301,7 +301,7 @@ sub read_cgi_input { my $encoding = delete $temp_target->{INPUT_ENCODING} || 'UTF-8'; - _recode_recursively(SL::Iconv->new($encoding, 'UTF-8'), $temp_target => $target) if keys %$target; + _recode_recursively(SL::Iconv->new($encoding, 'UTF-8'), $temp_target => $target) if keys %$temp_target; if ($target->{RESTORE_FORM_FROM_SESSION_ID}) { my %temp_form; -- 2.20.1