From 12cecc738017957d8ebfac0ea01b07004b003283 Mon Sep 17 00:00:00 2001 From: lxnay Date: Tue, 15 Apr 2008 09:53:49 +0000 Subject: [PATCH] testing reporting handler git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1752 cd1c1023-2f26-0410-ae45-c471fc1f0318 --- handlers/http_error_report.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/handlers/http_error_report.php b/handlers/http_error_report.php index 62ffdecd8..a0ac20d2d 100644 --- a/handlers/http_error_report.php +++ b/handlers/http_error_report.php @@ -2,13 +2,13 @@ function insert_attachment($data,$boundary,$filename) { - $mymessage = "--".$boundary."\n"; + $mymessage = "\n\n--".$boundary."\n"; $mymessage .= "Content-Type: application/octet-stream; name=\"".$filename."\"\n"; $mymessage .= "Content-Transfer-Encoding: base64\n"; //$mymessage .= "Content-Disposition: attachment\n"; $mymessage .= chunk_split(base64_encode($data)); $mymessage .= "\n\n"; - $mymessage .= "--".$boundary."--\n"; + $mymessage .= "--".$boundary."--\n\n\n"; return $mymessage; } @@ -37,7 +37,7 @@ $message = "--".$boundary."\n"; $message .= "Content-Type: text/plain; charset=\"iso-8859-1\"\n"; $message .= "Content-Transfer-Encoding: 7bit\n\n"; -$message .= "Hello, this is an Entropy error report.\n"; +$message .= "Hello, this is an Entropy error report.\n\n"; $message .= $_POST['stacktrace']; $message .= "Architecture: " . $arch . "\n"; $message .= "Arguments: " . $_POST['arguments'] . "\n";