[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb: [928] branches/1.2/LedgerSMB/Form.pm



Revision: 928
          http://svn.sourceforge.net/ledger-smb/?rev=928&view=rev
Author:   einhverfr
Date:     2007-03-17 13:35:31 -0700 (Sat, 17 Mar 2007)

Log Message:
-----------
Blacklisting ':' in actions

Modified Paths:
--------------
    branches/1.2/LedgerSMB/Form.pm

Modified: branches/1.2/LedgerSMB/Form.pm
===================================================================
--- branches/1.2/LedgerSMB/Form.pm	2007-03-17 19:59:30 UTC (rev 927)
+++ branches/1.2/LedgerSMB/Form.pm	2007-03-17 20:35:31 UTC (rev 928)
@@ -76,6 +76,10 @@
 
 	bless $self, $type;
 
+	if ($self->{action} =~ /:/){
+		$self->error("Access Denied");
+	}
+	$self;
 }
 
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.