php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #51219 newlines creating ugly bug emails
Submitted: 2010-03-05 20:16 UTC Modified: 2018-07-23 11:22 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: philip@php.net Assigned:
Status: Verified Package: Website problem
PHP Version: Irrelevant OS: Irrelevant
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2010-03-05 20:16 UTC] philip@php.net
Description:
------------
The generated emails use newlines as per the <textarea> width, so this means bug 
emails often look like:

I am a sentence that will be
shorted 
because newlines are interfering 
with my
beauty. So this bug report exists 
now.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-03-05 20:18 UTC] philip@php.net
Assigning to Jani, this time using the main Submit button instead of the "Assign 
to" Submit. Maybe it'll show up in the Changelog now.
 [2010-03-05 20:55 UTC] jani@php.net
iirc, this is due the re-formatting of emails to fit 72 chars or something like that. This textarea happens to be 80 chars with physical wrap..
 [2010-09-01 12:35 UTC] jani@php.net
-Status: Assigned +Status: Open -Assigned To: jani +Assigned To:
 [2016-08-12 17:42 UTC] cmb@php.net
> iirc, this is due the re-formatting of emails to fit 72 chars or
> something like that.

As it's now, only the "headers" are wordwrap()'d[1] (which, by the
way is a bug, because wordwrap() isn't multi-byte aware).

[1] <https://github.com/php/web-bugs/blob/931c5341f100f8a853f37717f12d9cf38fc10f8c/include/functions.php#L1001>
 [2018-07-23 11:22 UTC] kalle@php.net
-Status: Open +Status: Verified
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Wed Nov 13 22:01:29 2019 UTC