Projet: | Web |
Composant: | Lists |
Catégorie: | Rapporter un bogue |
Priorité: | normal |
Attribué: | david |
Statut: | by design |
Messages posted at the forum directly (as opposed to sent by e-mail) are devoid of content any time the symbols < and 3 are written together (sideways heart). Message still reads OK at the website, but it arrives incomplete by e-mail, stopping at the first occurrence of the sideways heart.
I'm looking into this issue, thanks for reporting!
Until now I've found that the missing text (anything after a < sign ) is filtered by the forum component, most probably because of the allowed input formats (or to discard email response formatting) but it's actually stored at the node level. I'll see what can we do to improve the current situation.
It's confirmed, the HTML format filter interprets any < sign immediately followed by other characters as an unclosed tag, so the text message is stripped until a > sign is found.
I'm not sure we can fix this behaviour without breaking the filter (and the use case shouldn't be a frequent one), so I'm going to set the status of this issue as "by design", but please feel free to reopen it if you find that it's actually more important and could prevent relevant content from being shown.
Found another similar problem today. So now there are two character sequences that cause the HTML format filter to strip the content of the message before sending it through e-mail.
First: <?
Where ? is any non-space character, as reported by david.
Second: [[
As seen in jdenz message today (2016/09/16) at 6:43 h. in the thread "Libreboot leaves FSF. Says FSF shouldn't exist anymore." I quote the message below just as empty as I received it through e-mail (I also checked the message source to confirm that there was no content after the last header, "Sender").
name at domain, Dom 18 Set 2016 06:43:19 CEST:
>
>
Just found a new character sequence that devoids the forum messages before sending them by e-mail. Now they are three:
First, reported by david: Less-than sign ( < ) followed by any non-space character.
Second, reported by me: Two brackets ( [[ ), as seen in jdenz's message on date 2016/09/16 at 6:43 h. in the thread "Libreboot leaves FSF. Says FSF shouldn't exist anymore." at the english forum.
Third, reported by me: any digit followed by a closed parentheses, as seen in Arder's message on date 09/28/2016 at 05:00 h. in the thread "La FSF despide a una trabajadora transexual" at the spanish forum.