From f94513244b6bdc4a5cd0b867495023db9aacb659 Mon Sep 17 00:00:00 2001 From: einhverfr Date: Sat, 17 Mar 2007 20:35:31 +0000 Subject: Blacklisting ':' in actions git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@928 4979c152-3d1c-0410-bac9-87ea11338e46 --- LedgerSMB/Form.pm | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'LedgerSMB') 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; } -- cgit v1.2.3