summaryrefslogtreecommitdiff
path: root/LedgerSMB/Form.pm
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-03-17 20:35:31 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-03-17 20:35:31 +0000
commitf94513244b6bdc4a5cd0b867495023db9aacb659 (patch)
tree3ea6fe6ae68751233c8441780cbbf9d33a7631db /LedgerSMB/Form.pm
parent011419bef76f02065d3ddb403248c43091529527 (diff)
Blacklisting ':' in actions
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@928 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 ad9b2d86..745708e3 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;
}