From ca141c2d1088019d7b2a379a4e874b8b93b985dc Mon Sep 17 00:00:00 2001 From: christopherm Date: Tue, 10 Oct 2006 14:23:39 +0000 Subject: fixing critical error in menu.pl, whitelisting was using wrong variable. This is a security problem! git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@198 4979c152-3d1c-0410-bac9-87ea11338e46 --- menu.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/menu.pl b/menu.pl index d42c44de..0146f5b0 100755 --- a/menu.pl +++ b/menu.pl @@ -109,7 +109,7 @@ map { $form->{$_} = $myconfig{$_} } qw(stylesheet timeout) unless ($form->{type} $form->db_init(\%myconfig); -if ($form{path} ne 'bin/lynx'){ $form{path} = 'bin/mozilla';} +if ($form->{path} ne 'bin/lynx'){ $form->{path} = 'bin/mozilla';} # did sysadmin lock us out if (-f "$userspath/nologin") { -- cgit v1.2.3