From 4f5025044953b6d40e9089a89fa759fce4cbc7e3 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Mon, 10 Sep 2001 00:49:45 +0000 Subject: [PATCH] Work around bug in "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)" -- it sends documents of type application/octet-stream with embedded hard line breaks, which is illegal according to RFC 2045, page 20: Since the canonical representation of media types other than text do not generally include the representation of line breaks as CRLF sequences, no hard line breaks (i.e. line breaks that are intended to be meaningful and to be displayed to the user) can occur in the quoted-printable encoding of such types. --- v7/src/runtime/mime-codec.scm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/v7/src/runtime/mime-codec.scm b/v7/src/runtime/mime-codec.scm index 2cdd8df75..d93fa94bf 100644 --- a/v7/src/runtime/mime-codec.scm +++ b/v7/src/runtime/mime-codec.scm @@ -1,6 +1,6 @@ ;;; -*-Scheme-*- ;;; -;;; $Id: mime-codec.scm,v 14.9 2001/02/08 17:16:05 cph Exp $ +;;; $Id: mime-codec.scm,v 14.10 2001/09/10 00:49:45 cph Exp $ ;;; ;;; Copyright (c) 2000 Massachusetts Institute of Technology ;;; @@ -257,8 +257,7 @@ context (decode-qp-pending-string pending string end* end))) ((not pending) - (if (and (eq? type 'LINE-END) - (qp-decoding-context/text? context)) + (if (eq? type 'LINE-END) ;; Hard line break. (newline port))) ((eqv? pending #\=) -- 2.25.1