more session related bug fixes

This commit is contained in:
JT Smith 2006-01-13 22:23:24 +00:00
parent a6dd6c89e0
commit 297b9f8487
6 changed files with 10 additions and 6 deletions

View file

@ -78,7 +78,7 @@ sub secureEval {
'WebGUI::International::get' => sub {$i18n->get(@_)},
'WebGUI::International::getLanguages' => sub { $i18n->getLanguages(@_) },
'$session->datetime->epochToHuman' => sub { $session->datetime->epochToHuman(@_) },
'WebGUI::Icon::getToolbarOptions' => sub { WebGUI::Icon::getToolbarOptions(@_) },
'WebGUI::Icon::getToolbarOptions' => sub { $session->icon->getToolbarOptions() },
);
foreach my $function (keys %trusted ) {
while ($code =~ /($function\(([^)]*)\)\s*;*)/g) {