Topic: a little typo in this mask '#[\n\r:]+#s'

not sure but I think I've found a little typo in email.php

    // Do a little spring cleaning
    $to = trim(preg_replace('#[\n\r]+#s', '', $to));
    $subject = trim(preg_replace('#[\n\r]+#s', '', $subject));
    $from = trim(preg_replace('#[\n\r:]+#s', '', $from));

this line in the mask :

$from = trim(preg_replace('#[\n\r:]+#s', '', $from));

Re: a little typo in this mask '#[\n\r:]+#s'

I think Rickard was intentionally trying to filter out that character, in which case this isn't a bug smile

Edit:
http://dev.punbb.org/changeset/124
Yup, looks intentional smile

http://fluxbb.org

Free PunBB Hosting - lots of mods, easy to customize

Re: a little typo in this mask '#[\n\r:]+#s'

ok, thanks smile