From d6366b9751425439eb662a5b2a6daf72116798c5 Mon Sep 17 00:00:00 2001 From: christopherm Date: Tue, 21 Nov 2006 05:44:16 +0000 Subject: adding missing single quote for Mr. O'Hare git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@676 4979c152-3d1c-0410-bac9-87ea11338e46 --- LedgerSMB/Session/DB.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/LedgerSMB/Session/DB.pm b/LedgerSMB/Session/DB.pm index f75be4b5..f69418cd 100755 --- a/LedgerSMB/Session/DB.pm +++ b/LedgerSMB/Session/DB.pm @@ -78,7 +78,7 @@ sub session_check { my ($sessionLogin, $sessionTransaction) = $checkQuery->fetchrow_array; my $login = $form->{login}; - $login =~ s/[^a-zA-Z0-9._+@-]//g; + $login =~ s/[^a-zA-Z0-9._+@'-]//g; if(($sessionLogin eq $login) and ($sessionTransaction eq $transactionID)){ @@ -214,7 +214,7 @@ sub password_check { my ($form, $username, $password) = @_; - $username =~ s/[^a-zA-Z0-9._+@-]//g; + $username =~ s/[^a-zA-Z0-9._+@'-]//g; # use the central database handle my $dbh = ${LedgerSMB::Sysconfig::GLOBALDBH}; -- cgit v1.2.3