Revision ec52855f
Von Sven Schöling vor fast 13 Jahren hinzugefügt
SL/Request.pm | ||
---|---|---|
212 | 212 |
} |
213 | 213 |
} |
214 | 214 |
|
215 |
my $encoding = delete $temp_target->{INPUT_ENCODING} || $db_charset; |
|
216 |
|
|
217 |
_recode_recursively(SL::Iconv->new($encoding, $db_charset), $temp_target => $target) if keys %$target; |
|
218 |
|
|
215 | 219 |
if ($target->{RESTORE_FORM_FROM_SESSION_ID}) { |
216 | 220 |
my %temp_form; |
217 | 221 |
$::auth->restore_form_from_session(delete $target->{RESTORE_FORM_FROM_SESSION_ID}, form => \%temp_form); |
218 | 222 |
_store_value($target, $_, $temp_form{$_}) for keys %temp_form; |
219 | 223 |
} |
220 | 224 |
|
221 |
my $encoding = delete $temp_target->{INPUT_ENCODING} || $db_charset; |
|
222 |
|
|
223 |
_recode_recursively(SL::Iconv->new($encoding, $db_charset), $temp_target => $target) if keys %$target; |
|
224 |
|
|
225 | 225 |
map { $target->{$_} = $temp_target->{$_} } keys %{ $temp_target }; |
226 | 226 |
|
227 | 227 |
$::lxdebug->leave_sub; |
Auch abrufbar als: Unified diff
Wiederherstellen von Sessionvariablen nicht von aktuellen Formeinträgen klobbern lassen.
Fix für Bugs 1769 und 1767.