Summary | maildir quota driver not working |
Queue | IMP |
Queue Version | 4.2 |
Type | Bug |
State | Resolved |
Priority | 2. Medium |
Owners | jan (at) horde (dot) org |
Requester | filip.sedlar (at) sendmail (dot) cz |
Created | 07/03/2008 (6211 days ago) |
Due | 07/03/2008 (6211 days ago) |
Updated | 07/09/2008 (6205 days ago) |
Assigned | 07/06/2008 (6208 days ago) |
Resolved | 07/09/2008 (6205 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | 4.2.1 |
Patch | No |
http://cvs.horde.org/diff.php/imp/docs/CHANGES?r1=1.699.2.326&r2=1.699.2.327&ty=u
http://cvs.horde.org/diff.php/imp/lib/Quota/maildir.php?r1=1.1.2.6&r2=1.1.2.7&ty=u
http://cvs.horde.org/co.php/imp/lib/tests/fixtures/maildirsize?r=1.1.2.1
http://cvs.horde.org/co.php/imp/lib/tests/quota_maildir.phpt?r=1.1.2.1
State ⇒ Resolved
http://cvs.horde.org/diff.php/imp/docs/CHANGES?r1=1.1159&r2=1.1160&ty=u
http://cvs.horde.org/diff.php/imp/lib/Quota/maildir.php?r1=1.5&r2=1.6&ty=u
http://cvs.horde.org/co.php/imp/lib/tests/fixtures/maildirsize?r=1.1
http://cvs.horde.org/co.php/imp/lib/tests/quota_maildir.phpt?r=1.1
New Attachment: maildirsize
Warning: preg_replace()
[http://www.php.net/docs.phpfunction.preg-replace.php]: No ending
delimiter '/' found (could it be because of PHP version???). Note that
I am not a PHP programmer, I just administrate freemail server.
State ⇒ Feedback
$line = preg_replace("/[ \t\n\r\0\x0B]/", '', $line);
to this:
$line = preg_replace("/[ \t\n\r", '', $line);
http://cvs.horde.org/diff.php/imp/lib/Quota/maildir.php?r1=1.4&r2=1.5&ty=u
Assigned to Jan Schneider
Priority ⇒ 2. Medium
State ⇒ Unconfirmed
Patch ⇒ No
Milestone ⇒
Due ⇒ 07/03/2008
Summary ⇒ maildir quota driver not working
Type ⇒ Bug
Queue ⇒ IMP
instead of
foreach ($lines as $line_number => $line) {
if ($line_num == 0) {
there should be:
foreach ($lines as $line_number => $line) {
if ($line_number == 0) {
and then I had to change this line:
$line = preg_replace("/[ \t\n\r\0\x0B]/", '', $line);
to this:
$line = preg_replace("/[ \t\n\r", '', $line);
in order to get maildir quotas working
cheers