projects
/
debbugs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3cb0ce
)
use :raw for the mail messages
author
Don Armstrong
<don@donarmstrong.com>
Sat, 7 Jul 2012 20:44:58 +0000
(13:44 -0700)
committer
Don Armstrong
<don@donarmstrong.com>
Sat, 7 Jul 2012 20:44:58 +0000
(13:44 -0700)
cgi/bugreport.cgi
patch
|
blob
|
history
diff --git
a/cgi/bugreport.cgi
b/cgi/bugreport.cgi
index 0a66311f71909229ddeb7f2bf8d5ac03c5cbfe3c..de4ec76371633cfe8d9760a14a7f6e2142df6250 100755
(executable)
--- a/
cgi/bugreport.cgi
+++ b/
cgi/bugreport.cgi
@@
-171,6
+171,7
@@
if (defined($msg) and ($msg-1) <= $#records) {
}
my @log;
if ( $mbox ) {
+ binmode(STDOUT,":raw");
my $date = strftime "%a %b %d %T %Y", localtime;
if (@records > 1) {
print $q->header(-type => "text/plain",
@@
-245,6
+246,7
@@
END
else {
if (defined $att and defined $msg and @records) {
+ binmode(STDOUT,":raw");
$msg_num++;
print handle_email_message($records[0]->{text},
ref => $ref,