Author Topic: display name incleded escape character  (Read 3561 times)

Offline Tomokazu

  • Newbie
  • *
  • Posts: 6
display name incleded escape character
« 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?

Offline alec

  • Hero Member
  • *****
  • Posts: 1,363
Re: display name incleded escape character
« Reply #1 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.

Offline Tomokazu

  • Newbie
  • *
  • Posts: 6
Re: display name incleded escape character
« Reply #2 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>
 

Offline alec

  • Hero Member
  • *****
  • Posts: 1,363
Re: display name incleded escape character
« Reply #3 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.

Offline Tomokazu

  • Newbie
  • *
  • Posts: 6
Re: display name incleded escape character
« Reply #4 on: November 09, 2016, 06:46:28 PM »
I use Roundcube 1.2.1.