From 417906cee68e675b9ced096c458071aa4122682d Mon Sep 17 00:00:00 2001 From: "m.fu" Date: Wed, 25 Mar 2009 19:24:10 +0000 Subject: Fixed #409406 by fasdalf@fasdalf.ru : remove comma in htgroup file --- CHANGELOG.txt | 6 ++++++ HTPasswdSync.install | 8 +++++++- HTPasswdSync.module | 19 ++++++++++--------- README.txt | 2 ++ 4 files changed, 25 insertions(+), 10 deletions(-) create mode 100644 CHANGELOG.txt diff --git a/CHANGELOG.txt b/CHANGELOG.txt new file mode 100644 index 0000000..b4cc73c --- /dev/null +++ b/CHANGELOG.txt @@ -0,0 +1,6 @@ +$Id$ + +v1.1-Dev bug fix release +Fixed #409406 by fasdalf@fasdalf.ru : remove comma in htgroup file + +v1.0 Initial release \ No newline at end of file diff --git a/HTPasswdSync.install b/HTPasswdSync.install index 6689436..a973a70 100644 --- a/HTPasswdSync.install +++ b/HTPasswdSync.install @@ -1,6 +1,12 @@ name .", "; + $groups[$name] .= " ". $r->name; } - // get rid of tailing characters - $groups[$name] = rtrim($groups[$name], ", "); - } - _htpasswdsync_write_htfile($groups, $file); + } _htpasswdsync_write_htfile($groups, $file); } /* generate the htpasswd content from the database diff --git a/README.txt b/README.txt index 9d99291..dc79cc1 100644 --- a/README.txt +++ b/README.txt @@ -11,6 +11,8 @@ For a full description of the module, visit the project page: To submit bug reports and feature suggestions, or to track changes: http://drupal.org/project/issues/htpasswdsync +The way password are encrypted it only compatible with *nix version of Apache. + -- REQUIREMENTS -- -- cgit v1.2.3