Last modified: 2010-05-15 15:56:41 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T8336, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 6336 - Email address confirmation email, missing line breaks
Email address confirmation email, missing line breaks
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
User preferences (Other open bugs)
1.6.x
PC Windows XP
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-06-16 23:08 UTC by Mary
Modified: 2010-05-15 15:56 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Mary 2006-06-16 23:08:33 UTC
Email address confirmation emails are missing line breaks. I don't know if other
emails are affected.

* Confirmed in a raw view of the email source, entire message appears on one
long line.
* Tried two different email accounts, one with my ISP (Shaw), the other GMail.
Same result.
* Local setup on WinXP. Apache 2, PHP 5.1.4, MySQL 5.0.18. I'm not sure if
there's any other info you need.

I was able to fix the problem by adding:

$body = str_replace("\n", "\r\n", $body);

to the userMailer function inside includes/UserMailer.php
Comment 1 Raimond Spekking 2007-11-20 07:52:02 UTC
This was a long time ago fixed with r17001.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links