Edgewall Software
Modify

Opened 5 years ago

Closed 5 years ago

#11456 closed defect (fixed)

Meta characters should be encoded in ticket notification mail

Reported by: Jun Omae Owned by: Jun Omae
Priority: low Milestone: 0.12.6
Component: notification Version: 0.12.5
Severity: normal Keywords: mime
Cc:
Release Notes:

Escape double-quote and backslash characters in From header and encode as mime if matched =?<encoding>?[bq]?<bytes>?= in mail headers.

API Changes:

Description

When meta characters in MIME is used in [project] name and ticket summary, those characters aren't encoded in ticket notification mail. We should escape those characters.

  1. Set 0.12-stable \"quoted\" =?utf-8?b?VHJhYw==?= to [project] name
  2. Enter =?utf-8?b?VHJhYw==?= to summary of ticket and create the ticket

Result:

  1. The from shows 0.12-stable "quoted" Trac
    • should be 0.12-stable \"quoted\" =?utf-8?b?VHJhYw==?=
  2. The subject shows Re: [0.12-stable \"quoted\" Trac] #30008: Trac
    • should be Re: [0.12-stable \"quoted\" =?utf-8?b?VHJhYw==?=] #30008: =?utf-8?b?VHJhYw==?=
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
From: "0.12-stable \"quoted\" =?utf-8?b?VHJhYw==?=" <trac@localhost.********>
X-Trac-Version: 0.12.5
Precedence: bulk
Auto-Submitted: auto-generated
X-Mailer: Trac 0.12.5, by Edgewall Software
To: jun66j5+trac-0.12.5@gmail.com
X-Trac-Project: 0.12-stable \"quoted\" =?utf-8?b?VHJhYw==?=
Date: Fri, 24 Jan 2014 03:44:38 -0000
Reply-To: 
X-URL: 
Subject: Re: [0.12-stable \"quoted\" =?utf-8?b?VHJhYw==?=] #30008:
 =?utf-8?b?VHJhYw==?=
X-Trac-Ticket-URL: http://********:3000/ticket/30008#comment:1
Message-ID: <034.37649017d477ccfc6fd6957e65017df9@localhost>
References: <019.39b1cd5d99f1208ec43f4d8616420d30@localhost>
X-Trac-Ticket-ID: 30008
In-Reply-To: <019.39b1cd5d99f1208ec43f4d8616420d30@localhost>

Attachments (2)

ticket-notification.png (22.8 KB ) - added by Jun Omae 5 years ago.
after-ticket-notification.png (28.6 KB ) - added by Jun Omae 5 years ago.

Download all attachments as: .zip

Change History (4)

Changed 5 years ago by Jun Omae

Attachment: ticket-notification.png added

Changed 5 years ago by Jun Omae

comment:1 Changed 5 years ago by Jun Omae

Milestone: next-stable-1.0.x0.12.6
Owner: set to Jun Omae
Status: newassigned

Proposed changes are in log:jomae.git@t11456 (and log:jomae.git@t11456_0.12.6dev for 0.12-stable).

comment:2 Changed 5 years ago by Jun Omae

Release Notes: modified (diff)
Resolution: fixed
Status: assignedclosed

Committed and merged in [12506-12508].

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jun Omae.
The resolution will be deleted.
to The owner will be changed from Jun Omae to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.