brian 98/05/26 20:29:46
Modified: . bugdb.cgi Log: Force "From" field to default to @apache.org for editors without full domain names. Revision Changes Path 1.30 +5 -0 apache-site/bugdb.cgi Index: bugdb.cgi =================================================================== RCS file: /export/home/cvs/apache-site/bugdb.cgi,v retrieving revision 1.29 retrieving revision 1.30 diff -u -r1.29 -r1.30 --- bugdb.cgi 1998/05/24 13:51:00 1.29 +++ bugdb.cgi 1998/05/27 03:29:45 1.30 @@ -119,6 +119,8 @@ # email syntax validation (Dean Gaudet's suggestion). # 05/24/1998 Ken Coar - change my address and put a 'Go' SUBMIT button right # next to the 'go directly to' option (saves mouse motion). +# 05/26/1998 Brian Behlendorf - force "From" field to default to @apache.org +# for editors without full domain names. # ### End Modification log @@ -907,6 +909,9 @@ # Email-notify all concerned parties #print "---------------------------------</pre>\n"; + + #add "@apache.org" if there's no domain on the editor's email addy. + $input{'Editor'} .= "[EMAIL PROTECTED]" if ($input{'Editor'} !~ /@/); local($mail_to, $mailed) = ("", 0); $mail_to = join(", ", sort(keys(%mail_to))); if (($mail_to ne "") && (!$input{"NoNotify"})) {