Roundcube Community Forum

Release Support => Requests => Topic started by: Tomokazu on November 08, 2016, 07:53:17 PM

Title: display name incleded escape character
Post by: Tomokazu on November 08, 2016, 07:53:17 PM
Hi

When I replyed to sender that included escape character in displayname (e.g. \"Tomokazu\"@TEST <tomokazu@xxx.yyy>),
roundcube don't remove escape character.
The replied mail's to header is below.
  To: \"Tomokazu\"@TEST <tomokazu@xxx.yyy>

When I use Thunderbird, there is no escape characters.
  To: "Tomokazu"@TEST <tomokazu@xxx.yyy>

I prefer to Thunderbird's specification.
Doesn't someone know good idea?
Title: Re: display name incleded escape character
Post by: alec on November 09, 2016, 03:18:41 AM
How exactly the original From: header looks like? Escape characters can be used only inside quoted string, so it does not look correct in the first place.
Title: Re: display name incleded escape character
Post by: Tomokazu on November 09, 2016, 04:01:06 AM
Original from header is below.
  From: "\"yamatomo\"@TEST" <yamatomo@xxx.yyy>

when reply from roundcube
  To: "\"yamatomo\"@TEST" <yamatomo@xxx.yyy>

there is a same To header when reply from thunderbird, but thunderbird display below address.
  "yamatomo"@TEST <yamatomo@xxx.yyy>
 
Title: Re: display name incleded escape character
Post by: alec on November 09, 2016, 06:43:15 AM
What version are you using? I don't see a bug here. When previewing a message Roundcube displays  "yamatomo"@TEST <yamatomo@xxx.yyy>, when composing a reply it displays "\"yamatomo\"@TEST" <yamatomo@xxx.yyy> And this is correct in my opinion. Maybe it could display the same in both cases, but it might be hard with current recipient fields parser.
Title: Re: display name incleded escape character
Post by: Tomokazu on November 09, 2016, 06:46:28 PM
I use Roundcube 1.2.1.