From: Nick C. <ni...@cl...> - 2002-02-14 00:08:31
|
On Wed, Feb 13, 2002 at 03:36:46PM -0800, Nick Cleaton wrote: > > uid=68644(nickjc) gid=100(users) groups=100(users),40625(nms-cgi) > formmail FormMail.pl,1.35,1.36 > Wed Feb 13 15:36:46 PST 2002 > Update of /cvsroot/nms-cgi/formmail > In directory usw-pr-cvs1:/tmp/cvs-serv11480 > > Modified Files: > FormMail.pl > Log Message: > (This is the log message for the previous checkin) > * reworked check_email With so many different people (including me) adding clauses to the 'if' statement, it was getting too tangled. I've re-written check_email() from scratch, everyone please look and find the errors. Did you recently add to check_email ? If so, please check that what you blocked is still blocked. It no-longer allows SPAM relaying if $emulate_matts_code is set. It does allow pretty much anything that's at all like a real email address, so hopefully it will still be a drop-in replacement for 99% of users. > * made it produce debugging output when rejecting recipients Detailed reporting on rejected recipients if $DEBUGGING. That should help the remaining 1% track down any issues. > * sort order: doc correction Someone pointed this out on the list a few weeks ago, and I though it had been fixed, but it hadn't. > * doc typo > * added a way to keep the email address out of the form (user request) > * POST_MAX and DISABLE_UPLOADS stuff > * restricted the body attribute inputs to sane values > * squished a couple of warnings > * allowed relative URLs in check_url_valid -- Nick |