aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorm.fu <m_fu@310415.no-reply.drupal.org>2009-10-19 21:50:42 +0000
committerm.fu <m_fu@310415.no-reply.drupal.org>2009-10-19 21:50:42 +0000
commit993841af60d94ade489fa92cf069730de058d2ca (patch)
tree6dde8e2b981e0b2a562ee9f04a495dfc5f926835
parenteb86ef3fc329aa42dad7a519e0ae69c4bfd0138e (diff)
downloaddrupal_htpasswdsync-993841af60d94ade489fa92cf069730de058d2ca.tar.gz
drupal_htpasswdsync-993841af60d94ade489fa92cf069730de058d2ca.tar.bz2
drupal_htpasswdsync-993841af60d94ade489fa92cf069730de058d2ca.zip
Fixed #588208 by ikogan : username shall not contain colon
-rw-r--r--CHANGELOG.txt3
-rw-r--r--HTPasswdSync.module5
2 files changed, 7 insertions, 1 deletions
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 &lt;space&gt;, :'));
}

© 2014-2024 Faster IT GmbH | imprint | privacy policy