6.0.0-RC7
6/16/26

[#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/2/19 (2449 days ago)
Due
Updated 10/8/19 (2443 days ago)
Assigned
Resolved 10/8/19 (2443 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
5511 Jan Schneider Comment #6
State ⇒ Not Reproducible
Reply to this comment
Same here, works fine.
710 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).
2310 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.
4010 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

438 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?
18 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