summaryrefslogtreecommitdiff
path: root/program/include/rcube_mail_mime.php
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2009-05-01 17:58:12 +0000
committerthomascube <thomas@roundcube.net>2009-05-01 17:58:12 +0000
commit762a699dc7a5d0e3971a4679f714b7fa8d8832cf (patch)
tree03a40a40fce5d59550de63faaf739e000080c32e /program/include/rcube_mail_mime.php
parentffa6c1011c2330c19038482aa7256790f5539380 (diff)
Hard-wrap message headers according to RFC
Diffstat (limited to 'program/include/rcube_mail_mime.php')
-rw-r--r--program/include/rcube_mail_mime.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube_mail_mime.php b/program/include/rcube_mail_mime.php
index f59354fea..ab93d3a70 100644
--- a/program/include/rcube_mail_mime.php
+++ b/program/include/rcube_mail_mime.php
@@ -180,7 +180,7 @@ class rcube_mail_mime extends Mail_mime
}
}
- $input[$hdr_name] = $hdr_value;
+ $input[$hdr_name] = wordwrap($hdr_value, 990, "\n", true); // hard limit header length
}
return $input;