6.0.0-beta1
7/12/25

[#14953] deleted space/linbreak, miscalculted line wrap with quoted-printable
Summary deleted space/linbreak, miscalculted line wrap with quoted-printable
Queue IMP
Queue Version 6.2.24
Type Bug
State Not Reproducible
Priority 1. Low
Owners
Requester michael.menge (at) zdv (dot) uni-tuebingen (dot) de
Created 10/02/2019 (2110 days ago)
Due
Updated 10/08/2019 (2104 days ago)
Assigned
Resolved 10/08/2019 (2104 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
10/08/2019 11:15:55 AM Jan Schneider Comment #6
State ⇒ Not Reproducible
Reply to this comment
Same here, works fine.
10/02/2019 10:26:07 AM build+horde (at) de-korte (dot) org Comment #5
New Attachment: correct_line_wrap[1].eml Download
Reply to this comment
That attachment made no sense. Here a better one (I hope).
10/02/2019 10:23:23 AM build+horde (at) de-korte (dot) org Comment #4
New Attachment: correct_line_wrap.eml Download
Reply to this comment
I guess this is a PHP bug then. There have been several fixes 
regarding multi-byte support since PHP-5.6. I get very different 
results for the example you give (see attachment). Note that this is 
with PHP-7.3.10, all Horde packages up-to-date.
10/02/2019 10:03:40 AM michael (dot) menge (at) zdv (dot) uni-tuebingen (dot) de Comment #3
New Attachment: miscalculated_line_wrap.eml Download
Reply to this comment
System is RHEL 7.6

php-5.4.16-46.el7.x86_64

encoding in Client,Browser and Server is UTF-8

I have attached the mail that was saved by imp

10/02/2019 08:50:43 AM build+horde (at) de-korte (dot) org Comment #2 Reply to this comment
Can't reproduce this here, line wrapping is working as expected.

Which PHP version are you using and which character set is configured 
as default?
10/02/2019 08:30:01 AM michael (dot) menge (at) zdv (dot) uni-tuebingen (dot) de Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ deleted space/linbreak, miscalculted line wrap with quoted-printable
Queue ⇒ IMP
Milestone ⇒
Patch ⇒ No
New Attachment: miscalculated_line_wrap.txt Download
State ⇒ Unconfirmed
Reply to this comment
IMP automatically wraps long lines on saved/send mails.

In some cases this fails so that a long line is seen where a space 
between to words is missing.

I was able to narrow down the problems to lines which contain 
non-ASCII / UTF-8 multibyte characters

If you paste the lines from the example in IMP and save the draft, you 
can see that the third line is missing a linebreak / space between the 
second " vwx" and "yz"

The fourth line has the same length as the encoded third line but does 
not exhibit this problem

Saved Queries