Tags:
create new tag
, view all tags
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

Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2002-12-11 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.