[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
message.el bug: message-field-value issue with folded headers
From: |
Yuri D'Elia |
Subject: |
message.el bug: message-field-value issue with folded headers |
Date: |
Fri, 12 Jul 2019 14:45:43 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
In a recent change in message.el the headers are folded automatically
before being sent.
If the header has no whitespace, it will essentially move the entire
value into the next line:
|Header:
| long-value
Does it make sense to do so?
Anyway, `message-fetch-field' doesn't handle this case correctly. By
substituting "\n[\t ]+" => " " we're left with a leading space:
" long value"
Can we strip leading and trailing whitespace from value at the end of
the function?
- message.el bug: message-field-value issue with folded headers,
Yuri D'Elia <=