From 993841af60d94ade489fa92cf069730de058d2ca Mon Sep 17 00:00:00 2001 From: "m.fu" Date: Mon, 19 Oct 2009 21:50:42 +0000 Subject: Fixed #588208 by ikogan : username shall not contain colon --- CHANGELOG.txt | 3 +++ HTPasswdSync.module | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 2605dce..8ae0a91 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -1,5 +1,8 @@ $Id$ +Fixed #588208 by ikogan : username shall not contain colon + + v1.3 bug fix release Fixed #588208 by ikogan : username with t are concidered invalid diff --git a/HTPasswdSync.module b/HTPasswdSync.module index e949051..cfb6b27 100644 --- a/HTPasswdSync.module +++ b/HTPasswdSync.module @@ -2,6 +2,9 @@ // $Id$ /* * $Log$ + * Revision 1.1.2.6 2009/10/19 21:50:42 mfu + * Fixed #588208 by ikogan : username shall not contain colon + * * Revision 1.1.2.5 2009/10/16 16:45:58 mfu * Fixed #588208 by ikogan : username with t are concidered invalid * @@ -333,7 +336,7 @@ function _htpasswdsync_delete($account) { */ function _htpasswdsync_validate($edit, $account) { if (isset($edit['name'])) { - if (ereg('[[:space:]]', $edit['name'])) { + if (ereg('[:[:space:]]', $edit['name'])) { form_set_error('htpasswdsync', t('The username contains an illegal character, like <space>, :')); } -- cgit v1.2.3