From 29bdcb7eb1ede4937739720aa34798c1edc29469 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Thu, 31 Jan 2008 14:13:02 +0000 Subject: [PATCH] =?utf8?q?Verfr=C3=BChtes=20Escapen=20von=20%-Zeichen=20in?= =?utf8?q?=20$form,=20f=C3=BChrte=20dazu,=20dass=20bei=20aus=20Vorg=C3=A4n?= =?utf8?q?gen=20(Angebot,=20Auftrag=20etc)=20heraus=20neu=20angelegten=20A?= =?utf8?q?rtikeln=20%-zeichen=20als=20%26=20dargestellt=20wurden.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- bin/mozilla/io.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/mozilla/io.pl b/bin/mozilla/io.pl index a43a49390..5385b17ce 100644 --- a/bin/mozilla/io.pl +++ b/bin/mozilla/io.pl @@ -628,7 +628,7 @@ sub new_item { $form->{callback} = $form->escape("$form->{script}?action=display_form", 1); # save all form variables except action in a previousform variable - my $previousform = join '&', map { $form->{$_} =~ s/&/%26/; "$_=$form->{$_}" } grep { !/action/ } keys %$form; + my $previousform = join '&', map { my $value = $form->{$_}; $value =~ s/&/%26/; "$_=$value" } grep { !/action/ } keys %$form; push @HIDDENS, { 'name' => 'previousform', 'value' => $form->escape($previousform, 1) }; push @HIDDENS, map +{ 'name' => $_, 'value' => $form->{$_} }, qw(rowcount vc); -- 2.20.1