When
registering for TWiki, the user is asked for his
email address. If the user enters an
invalid email address,
(i.e. username without
@domain
) sendmail returns an error and this error is printed on stdout, thus mangling the HTTP Header.
Apache detects this malformed header and returns an
"internal server error".
TWiki.Version: Dec 2000
--
DanielKabs - 06 Mar 2001
Closed as this relates to a very old version of TWiki, and appears to be fixed by the SkipBad option of Net::SMTP.
--
RichardDonkin - 17 Oct 2002
This bug has been re-opened, since it's still happening in my install of the lattest
production TWiki (01 Dec 2001). I followed the poster's instructions, and the error
happened just as was described.
--
DavidRoche - 10 Dec 2002
Now fixed in
TWikiAlphaRelease -
register validates the email address. Thanks for re-opening this.
--
RichardDonkin - 10 Dec 2002
I made a small change to the e-mail validation regex, the alias part accepts now also undersocres.
$emailAddrRegex = qr/([A-Za-z0-9\.\+\-\_]+\@[A-Za-z0-9\.\-]+)/;
Let me know in case you know of any other legal characters for e-mail.
--
PeterThoeny - 11 Dec 2002