Be more permissive when interpreting IMAP mail headers
* lisp/gnus/nnimap.el (nnimap-transform-headers): Some mail doesn't have space after the colon of the header name. Don't ignore these.
This commit is contained in:
@@ -271,8 +271,8 @@ textual parts.")
|
||||
(save-excursion
|
||||
(forward-line)
|
||||
(null (looking-at-p
|
||||
;; We're expecting a mail header.
|
||||
"^[!-9;-~]+:[[:space:]]"))))
|
||||
;; We're expecting a mail-ish header.
|
||||
"^[!-9;-~]+:[[:space:]]?"))))
|
||||
(delete-region (line-beginning-position)
|
||||
(1+ (line-end-position)))
|
||||
(setq lines nil)
|
||||
|
||||
Reference in New Issue
Block a user