From f36ba09d0d65d4a3e2cc188f6366295ad27aa555 Mon Sep 17 00:00:00 2001 From: einhverfr Date: Sat, 17 Mar 2007 20:40:07 +0000 Subject: Blacklisting ':' in actions in Form.pm (unnecessary in LedgerSMB.pm) git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@929 4979c152-3d1c-0410-bac9-87ea11338e46 --- LedgerSMB/Form.pm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/LedgerSMB/Form.pm b/LedgerSMB/Form.pm index 25e857c1..49bc3d7d 100755 --- a/LedgerSMB/Form.pm +++ b/LedgerSMB/Form.pm @@ -76,6 +76,10 @@ sub new { bless $self, $type; + if ($self->{action} =~ /:/){ + $self->error("Access Denied"); + } + $self; } -- cgit v1.2.3