[chora] Status / Roadmap

Mathieu Arnold arn_mat@club-internet.fr
Thu, 05 Apr 2001 12:02:49 +0200


i  just realized that i patched something else which is included in the
long.patch :

> Index: lib/CVSLib.php
> ===================================================================
> RCS file: /home/cvs/cvs/dup/horde/chora/lib/CVSLib.php,v
> retrieving revision 1.67
> diff -u -r1.67 CVSLib.php
> --- lib/CVSLib.php      2001/03/18 03:09:00     1.67
> +++ lib/CVSLib.php      2001/04/05 09:52:51
> @@ -169,7 +169,7 @@
>         /* Parse the rest of the lines into a hash, keyed on username */
>         while ($line = fgets($fl, 4096)) {
>              if (preg_match('/^\s*$/',$line)) continue;
> -            if (!preg_match('/^(\w+)\s+(.+)\s+(\w+@[\w\.]+)\s+(.*)$/', $line, $regs)) continue;
> +            if (!preg_match('/^(\w+)\s+(.+)\s+([\w.]+@[\w\.]+)\s+(.*)$/', $line, $regs)) continue;
>              $users[$regs[1]]['name'] = trim($regs[2]);
>              $users[$regs[1]]['mail'] = trim($regs[3]);
>              $users[$regs[1]]['desc'] = trim($regs[4]);

it was because an email can contain a . :)
which is a chora bug :)

-- 
Mathieu Arnold