Closed Bug 733162 Opened 12 years ago Closed 9 years ago

E-mails are badly formatted when in 'quoted-printable' format.

Categories

(Bugzilla :: Email Notifications, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 714724

People

(Reporter: bugzilla, Unassigned)

References

Details

User Agent: Mozilla/5.0 (Windows NT 5.1; rv:10.0.2) Gecko/20100101 Firefox/10.0.2
Build ID: 20120215223356

Steps to reproduce:

The 'new bug' e-mail seems to have gone a bit awry since I upgrade our installation from 2.20.5 to 4.2.



Actual results:

Here is what I got for a new bug (e-mail method = text):

--------------------------
http://www.example.com/bugzilla/show_bug.cgi?id=3526



          Priority: normal

             Group: XXXX

            Bug ID: 3526

                CC: person@example.com, person2@example.com

          Assignee: nobody@example.com

           Summary: Client has reported an issue with exporting client

                    data

          Severity: normal

    Classification: XXXX

                OS: All

          Reporter: reporter@example.com

          Hardware: All

            Status: NEW

           Version: V2

         Component: Admin section

           Product: XXXX



From client [05/03/2012]: I need to export all the client data in XXXX but =
the

export data tool doesn’t seem to be capable of exporting more than =
a dozen or

so records at a time – is this a known issue? (It has a “Se=
lect All” option,

which is interesting if it is a known issue! It either hangs the applicatio=
n or

exports an empty csv file.)  Any suggestions?



-- 

You are receiving this mail because:

You are on the CC list for the bug.=

--------------------------

The above output is what Outlook displays, below is how it is in the message source (note that it is all on a single line):

--------------------------
http://www.example.com/bugzilla/show_bug.cgi?id=3D3526            Priority: normal              Group: XXXX             Bug ID: 3526                 CC: person@example.com, person2@example.com           Assignee: nobody@example.com            Summary: Client has reported an issue with exporting client                     data           Severity: normal     Classification: XXXX                 OS: All           Reporter: reporter@example.com           Hardware: All             Status: NEW            Version: V2          Component: Admin section            Product: XXXX  From client [05/03/2012]: I need to export all the client data in XXXX but = the export data tool doesn=E2=80=99t seem to be capable of exporting more than = a dozen or so records at a time =E2=80=93 is this a known issue? (It has a =E2=80=9CSe= lect All=E2=80=9D option, which is interesting if it is a known issue! It either hangs the applicatio= n or exports an empty csv file.)  Any suggestions?  --=20 You are receiving this mail because: You are on the CC list for the bug.=
--------------------------



Expected results:

Clearly something has gone wrong.  Previously there was no problem with the output being displayed properly.  Here's an example of what we used to receive:
--------------------------
[Bug 3436] New: Amend Progress Report
http://www.example.com/bugzilla/show_bug.cgi?id=3436

           Summary: Amend Progress Report
           Product: XXXX
           Version: V2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: normal
         Component: Admin section
        AssignedTo: person@example.com
        ReportedBy: person@example.com
                CC: person2@example.com, person@example.com,
                    person3@example.com


From today's meeting:

Request to add from/to data parameters to this report.  Currently it does not allow
the user to enter any data parameters.

I need to cost this now and let client know.


-- 
Configure bugmail: http://www.example.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
--------------------------

In addition, the message source was identical to the displayed text.
I cannot reproduce your issue. Are you sure this is an email problem in Bugzilla? How does the emails look like from e.g. Thunderbird or Gmail?
OK - Some more information, from using Bugzilla for a couple of days:

* This can affect any Bugzilla (text) e-mails, not just new bugs.
* It does not affect all e-mails - some are fine.
* The problem exists in Thunderbird also.
* The problem does not exist in Squirrel Mail.

I have a hunch, which may or may not be correct, but the e-mails that cause the problems seem to have 'special' characters in them.  I notice that the above example has 'smart quotes' in it (presumably pasted from Word), and another had a hyphen (possibly M-dash?) which was encoded as  =E2=80=93.

In the two problem e-mails I have investigated, the headers contain:

  Content-Type: text/plain; charset="UTF-8"
  Content-Transfer-Encoding: quoted-printable

In the non-problem e-mails, the headers contain:

  Content-Type: text/plain; charset="UTF-8"
  Content-Transfer-Encoding: 7bit

My guess is that certain characters cause the encoding to change, and that there is something wrong with the result when this happens.  I've updated the summary to reflect this.
Summary: New bug e-mail is badly formatted in text mode → E-mails are badly formatted when in 'quoted-printable' format.
We've seen line-ending problems like this before. Byron, do you recall which bug this was? I think it might even still be open.
Whiteboard: DUPME?
This should be fixed by bug 714724.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
Whiteboard: DUPME?
You need to log in before you can comment on or make changes to this bug.