diff options
author | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-03-17 20:40:07 +0000 |
---|---|---|
committer | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-03-17 20:40:07 +0000 |
commit | f36ba09d0d65d4a3e2cc188f6366295ad27aa555 (patch) | |
tree | e6ebf30e7c3308072996995b17164a41f7862c85 /LedgerSMB/Form.pm | |
parent | b32f9d96c1b652966eafa8c3ae080b6bab1409ee (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-x | LedgerSMB/Form.pm | 4 |
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; } |