[Pushed] emails aren't parsing correctly
#1
I noticed in a few of my forum subscription email alerts that mybb is not parsing the emails correctly, as seen here, take note of … :

someuser Wrote: (Today, 07:57 PM)
--
I put another form order in right after I got
my latest WR2… (visit the thread to read more…)

Here is an excerpt of the message:
------------------------------------------
Thursday SOTD
https://someimage.com
Razor: Supply Provision The Single Edge Jet Black
… (visit the thread to read more…)
------------------------------------------

Here is an excerpt of the message:
------------------------------------------

user1 Wrote: (Today, 09:33 AM)
--

user2 Wrote: (Today, 09:27 AM)
--
No, should be … (visit the thread to read more…)
Reply
#2
… is the HTML entity for ellipsis. Are these emails HTML emails or plain text? If plain text, it shouldn't need to HTML encode the contents.
Reply
#3
I can confirm, it displays &hellip...
[MyBB 1.8 Czech translation] [MyBB 1.8 plugins]: Prune old PMs + optimize DB plugin --- Thank you/like system
Reply
#4
Guys, it still happens here on MyBB community board... can you confirm?
[MyBB 1.8 Czech translation] [MyBB 1.8 plugins]: Prune old PMs + optimize DB plugin --- Thank you/like system
Reply
#5
I haven't been able to reproduce this issue on my local installation so far.
My best guess is that the problem is caused by
$l['emailbit_viewthread'] = "... (visit the thread to read more...)";

(from messages.lang.php) containing a U+2026 character (…), which PHP converts to … In my copy, the string contains three normal dots (...) instead.
Has this installation been modified in any way compared to a stock MyBB installation?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)