summaryrefslogtreecommitdiff
path: root/LedgerSMB/Form.pm
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-03-17 20:40:07 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-03-17 20:40:07 +0000
commitf36ba09d0d65d4a3e2cc188f6366295ad27aa555 (patch)
treee6ebf30e7c3308072996995b17164a41f7862c85 /LedgerSMB/Form.pm
parentb32f9d96c1b652966eafa8c3ae080b6bab1409ee (diff)
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
Diffstat (limited to 'LedgerSMB/Form.pm')
-rwxr-xr-xLedgerSMB/Form.pm4
1 files changed, 4 insertions, 0 deletions
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;
}