Hi,
we use NOCC v0.9.5 and still get the warning:
Warning: Invalid range end in webmail/functions.php on
line 448.
It is not really reproducible, it happens from time to
time.
I replaced the eregi_replace line 448 with the
following code that fixed the warning.
$body = preg_replace("/([0-9a-zA-Z]([-_.]?[0-9a-zA-Z])
*@[0-9a-zA-Z]([-.]?[0-9a-zA-Z])*\.[a-zA-Z]{2,})/", "<a
href=\&quot;$PHP_SELF?
action=write&mail_to=\\1&lang=$lang&$php_session=$sessi
d\&quot;>\\1</a>", $body);
Regards Patrick
Logged In: YES
user_id=29685
I actually closed previous bug report because I added this
to the FAQ, see http://nocc.sourceforge.net/page.php?file=FAQ
Therefore, you provide a fix, which is interesting !
I guess I'll also move every eregi_replace() call to
preg_replace() as documentation says it's faster.
Thanks for the patch ! I'll apply it asap.
Logged In: NO
I get this problem, too.
It SEEMS to happen more on forwarded messages..However,
when you get it, if you click on the Header button, it will
show you the message.
I'm wondering if it has something to do with the headers
not separating from the email...
Logged In: YES
user_id=282992
changing to the code from Patrick clears up the issue.
Looks like this could go in to the next release.
Logged In: YES
user_id=29685
Fixed in CVS, thanks for the patch.