Add calls to StripSlashes() for the sent email.

This commit is contained in:
Jeff Teunissen 2003-07-21 11:58:14 +00:00
parent 003716271d
commit b306bf2aab

View file

@ -70,7 +70,7 @@ if ($pkg && $version && $severity && $os && $details && $subj) {
echo "To: <TT>$address</TT><BR>\n";
echo 'Subject: <TT>' . StripSlashes($subj) . '</TT><br>';
echo '<pre>' . StripSlashes ($mail) . '</pre>';
mail ($address, $subj, $mail, "From: \"Bug-Submission Form\" <$address>");
mail ($address, StripSlashes ($subj), StripSlashes ($mail), "From: \"Bug-Submission Form\" <$address>");
echo '<P>Bug report sent!</P>';
} else {
?><P><STRONG>Note:</STRONG> All fields <STRONG>must</STRONG> be filled in.</P><FORM name="bug" method="post"><table><?