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

SF.net SVN: ledger-smb: [676]



Revision: 676
          http://svn.sourceforge.net/ledger-smb/?rev=676&view=rev
Author:   christopherm
Date:     2006-11-20 21:44:16 -0800 (Mon, 20 Nov 2006)

Log Message:
-----------
adding missing single quote for Mr. O'Hare

Modified Paths:
--------------
    branches/1.2/LedgerSMB/Session/DB.pm
    trunk/LedgerSMB/Session/DB.pm

Modified: branches/1.2/LedgerSMB/Session/DB.pm
===================================================================
--- branches/1.2/LedgerSMB/Session/DB.pm	2006-11-21 05:38:28 UTC (rev 675)
+++ branches/1.2/LedgerSMB/Session/DB.pm	2006-11-21 05:44:16 UTC (rev 676)
@@ -78,7 +78,7 @@
 		my ($sessionLogin, $sessionTransaction) = $checkQuery->fetchrow_array;
 
 		my $login = $form->{login};
-		$login =~ s/..hidden..//g;
+		$login =~ s/[^a-zA-Z0-9._+@'-]//g;
 
 		if(($sessionLogin eq $login) and ($sessionTransaction eq $transactionID)){
 
@@ -214,7 +214,7 @@
 
 	my ($form, $username, $password) = @_;
 
-	$username =~ s/..hidden..//g;
+	$username =~ s/[^a-zA-Z0-9._+@'-]//g;
 
 	# use the central database handle
 	my $dbh = ${LedgerSMB::Sysconfig::GLOBALDBH};

Modified: trunk/LedgerSMB/Session/DB.pm
===================================================================
--- trunk/LedgerSMB/Session/DB.pm	2006-11-21 05:38:28 UTC (rev 675)
+++ trunk/LedgerSMB/Session/DB.pm	2006-11-21 05:44:16 UTC (rev 676)
@@ -78,7 +78,7 @@
 		my ($sessionLogin, $sessionTransaction) = $checkQuery->fetchrow_array;
 
 		my $login = $form->{login};
-		$login =~ s/..hidden..//g;
+		$login =~ s/[^a-zA-Z0-9._+@'-]//g;
 
 		if(($sessionLogin eq $login) and ($sessionTransaction eq $transactionID)){
 
@@ -214,7 +214,7 @@
 
 	my ($form, $username, $password) = @_;
 
-	$username =~ s/..hidden..//g;
+	$username =~ s/[^a-zA-Z0-9._+@'-]//g;
 
 	# use the central database handle
 	my $dbh = ${LedgerSMB::Sysconfig::GLOBALDBH};


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