Bug 749128 - Extra 000D letters at the end of lines
Summary: Extra 000D letters at the end of lines
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: evolution-data-server
Version: 6.2
Hardware: All
OS: Linux
low
low
Target Milestone: rc
: ---
Assignee: Milan Crha
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks: 1073819 1224736 1363705
TreeView+ depends on / blocked
 
Reported: 2011-10-26 09:42 UTC by Karel Srot
Modified: 2017-03-21 09:08 UTC (History)
6 users (show)

Fixed In Version: evolution-data-server-2.32.3-24.el6
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1073819 (view as bug list)
Environment:
Last Closed: 2017-03-21 09:08:48 UTC
Target Upstream Version:


Attachments (Terms of Use)
screenshot (200.35 KB, image/png)
2011-12-22 15:44 UTC, Karel Srot
no flags Details
eds patch (781 bytes, patch)
2015-05-25 09:55 UTC, Milan Crha
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
GNOME Bugzilla 747988 0 None None None Never
Red Hat Product Errata RHBA-2017:0581 0 normal SHIPPED_LIVE evolution bug fix update 2017-03-21 12:23:58 UTC

Description Karel Srot 2011-10-26 09:42:22 UTC
Description of problem:

I have used "Report to Admin" button in sealert browser to create a mail template. Evolution window has been opened with the mail but all lines have been terminated with CR charater which results in that strange "box" symbol (contaning 000d) that represents unprintable characters.


Version-Release number of selected component (if applicable):
setroubleshoot-3.0.38-2.1.el6

How reproducible:
always

Steps to Reproduce:
1. read above
2.
3.
  
Actual results:


Expected results:
no box symbols at the end of the line

Additional info:

Comment 1 Daniel Walsh 2011-12-22 15:29:12 UTC
I am not seeing this,   Do you have an example of this?

Comment 2 Karel Srot 2011-12-22 15:44:47 UTC
Created attachment 549213 [details]
screenshot

added attachment with the screenshot

Comment 8 RHEL Program Management 2012-07-10 05:55:02 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 9 RHEL Program Management 2012-07-11 01:57:37 UTC
This request was erroneously removed from consideration in Red Hat Enterprise Linux 6.4, which is currently under development.  This request will be evaluated for inclusion in Red Hat Enterprise Linux 6.4.

Comment 13 Milos Malik 2015-05-25 08:38:47 UTC
Could the problem be in evolution?

Comment 14 Milan Crha 2015-05-25 08:53:38 UTC
(In reply to Milos Malik from comment #13)
> Could the problem be in evolution?

I do not know how this works precisely, and having the raw data which are passed into the Evolution would surely help, but there was a similar bug report, with message replies, filled upstream [1]. This message processing is done in gtkhtml3.

There also used to be a similar issue long time ago, composer showing some end-line markers or tabs or such, but it cured on its own after some update of either pango, or cairo, or some such library being used by the gtkhtml3 dependencies.

[1] https://bugzilla.gnome.org/show_bug.cgi?id=747988

Comment 15 Milan Crha 2015-05-25 09:36:52 UTC
Minimal reporducer for the evolution:
   $ mailto:?subject=subject.&body=text.%0D%0A%2a%2a%29%20text2%0d%0a

Comment 16 Milan Crha 2015-05-25 09:55:55 UTC
Created attachment 1029403 [details]
eds patch

for evolution-data-server;

After some investigation the faulty code resides in evolution-data-server. The ToHTML filter encoded the \r into the '
' sequence, instead of keeping it as part of the \r\n line ending. It will still encode out-of-order \r as the '
', which is correct, from my point of view.

Comment 17 Milan Crha 2015-05-25 10:15:11 UTC
(In reply to Milan Crha from comment #15)
> Minimal reporducer for the evolution:
>    $ mailto:?subject=subject.&body=text.%0D%0A%2a%2a%29%20text2%0d%0a

The right command is (above is missing a backslash in front of the ampersand):

     $ mailto:?subject=subject.\&body=text.%0D%0A%2a%2a%29%20text2%0d%0a

Comment 23 errata-xmlrpc 2017-03-21 09:08:48 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2017-0581.html


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