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: 2022-01-20 16:27 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: peehaa (profile)
Status: Wont fix Package: Website problem
PHP Version: Irrelevant OS: Irrelevant
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: philip@php.net
New email:
PHP Version: OS:

 

 [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

Pull Requests

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
 [2019-12-11 15:19 UTC] peehaa@php.net
-Assigned To: +Assigned To: peehaa
 [2022-01-20 16:27 UTC] cmb@php.net
-Status: Verified +Status: Wont fix
 [2022-01-20 16:27 UTC] cmb@php.net
Given that bugsnet has been superseded by GH issues, I think this
ticket can be closed.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 01:01:30 2024 UTC