Bug 1597955 - Evolution not stripping HTML comments from text/plain part of the message
Summary: Evolution not stripping HTML comments from text/plain part of the message
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: evolution
Version: 28
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Milan Crha
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-07-04 03:12 UTC by Bojan Smojver
Modified: 2019-05-28 21:48 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-05-28 21:48:06 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
HTML comments in text/plain part of the message (25.03 KB, image/png)
2018-07-04 03:12 UTC, Bojan Smojver
no flags Details

Description Bojan Smojver 2018-07-04 03:12:53 UTC
Created attachment 1456356 [details]
HTML comments in text/plain part of the message

Description of problem:
Evolution doesn't seem to be stripping HTML comments from text/plain part of the message.

Version-Release number of selected component (if applicable):
evolution-3.28.3-1.fc28.x86_64

How reproducible:
Always.

Steps to Reproduce:
1. Set messages to HTML format, reply style Outlook (not sure whether last part matters, but I have it anyway).
2. Reply to a message sent by Outlook.
3. Go to Sent Items and view plain text version (or view source).

Actual results:
See attached screenshot. HTML comments kept in text/plain part of the message.

Expected results:
They should be stripped, because they are clearly not part of the message, but rather formatting (or comments about formatting anyway).

Additional info:

Comment 1 Milan Crha 2018-07-04 13:39:01 UTC
Thanks for a bug report. This is new to me. Would it be possible to provide a message to which I'd be able to reply to reproduce the issue, please? I do not have access to any recent Outlook, somehow.

Also, I suppose you use evolution-ews or evolution-mapi to connect to your account, right? Maybe IMAP accounts work differently, but it's to be figured out later.

Comment 2 Bojan Smojver 2018-07-04 21:47:01 UTC
I'll try to dig out a message for you and send it privately, because I'm not allowed to disclose it here (work). I'm using ews.

Comment 3 Bojan Smojver 2018-07-05 01:09:56 UTC
One other interesting detail. The problem is only visible in the sent items. Once the mail passes through Exchange (via EWS) and comes back to me, plain text part has all those comments stripped, as it should. Weird...

Comment 4 Milan Crha 2018-07-09 11:50:21 UTC
Thanks for the test message, I already deleted its original form here (I've an "anonymized" version too, but I'll not use it anywhere in public) and expunged the Trash folder. I tried to reproduce this with my Exchange 2013 server, but no luck. That's with an up-to-date Fedora 28. I'm afraid it's some server-side glitch, but I cannot verify with any more recent Exchange server, like I'd try for example with an Office365 account, but I do not want to with your message, neither with the "anonymized" version.

Could you try one thing for me, please? Go to menu Edit->Preferences->Composer Preferences and check there [x] Send messages through Outbox [ Keep in Outbox ]. This way when you'll send the message it'll not be sent immediately, but it'll be added into On This Computer/Outbox instead. You can go to that folder and check what the message look like, both in the message preview and in the message source. By the way, I'm not sure how you've got the above screen shot, it's not clear whether it's the message preview or the message source to me from it.

The thing I'd like to verify is whether it's the composer part adding the extra text into the message, or the EWS connector, or the server itself. While I cannot distinguish between the EWS connector and the server itself easily, it'll be clearer whether the composer misbehaved when you check the message in the Outbox folder. You can also drag&drop it into one of the EWS folders and see whether the message will be incorrect in that folder. Finally just right-click the On This Computer/Outbox folder and pick Flush Outbox from the context menu, or use Send/Receive button to send the message and then verify what will be shown in the Sent Items folder on the Exchange server. And when you send to yourself, instead of to the sender(s), you can see what is received as well.

Just do not forget to unset that option in the Preferences once you are done with testing, otherwise your messages will wait for sending until you manually flush the Outbox folder.

Comment 5 Ben Cotton 2019-05-02 21:20:45 UTC
This message is a reminder that Fedora 28 is nearing its end of life.
On 2019-May-28 Fedora will stop maintaining and issuing updates for
Fedora 28. It is Fedora's policy to close all bug reports from releases
that are no longer maintained. At that time this bug will be closed as
EOL if it remains open with a Fedora 'version' of '28'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 28 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 6 Ben Cotton 2019-05-28 21:48:06 UTC
Fedora 28 changed to end-of-life (EOL) status on 2019-05-28. Fedora 28 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


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