Discussion:
curious handling of quotation marks in the addressbook interface
(too old to reply)
d...@brannerchinese.com
2021-12-24 03:23:56 UTC
Permalink
Some email senders have their name in quotes, and when I add them to the addressbook the result looks incorrectly processed. For instance, a message from

"TEXT HERE " <***@domain.com>

ends up in the addressbook interface as:

Nickname :
Fullname : ", "TEXT HERE
Fcc :
Comment :
Addresses : "\"TEXT HERE \"" <***@domain.com>

Both the Fullname and Addresses fields appear to be mishandling the quotation marks. Is this a known issue? Is there a current fix for it?

Thanks.

- dpb
Adam H. Kerman
2021-12-24 04:48:55 UTC
Permalink
Post by ***@brannerchinese.com
Some email senders have their name in quotes, and when I add them to the
addressbook the result looks incorrectly processed. For instance, a
message from
Fullname : ", "TEXT HERE
Both the Fullname and Addresses fields appear to be mishandling the
quotation marks. Is this a known issue? Is there a current fix for it?
Some editing is required when storing that entry.

My name is quoted because of the ".". If it weren't there, it wouldn't
be quoted. Nevertheless, there is no reason to store an addressbook
entry with quotes as the alpine composer would add them as needed.
Eduardo Chappa
2021-12-24 15:58:56 UTC
Permalink
Post by ***@brannerchinese.com
Some email senders have their name in quotes, and when I add them to the
addressbook the result looks incorrectly processed. For instance, a
message from
Fullname : ", "TEXT HERE
Both the Fullname and Addresses fields appear to be mishandling the
quotation marks. Is this a known issue? Is there a current fix for it?
Dear dpb,

if you do not mind, could you send me a real life example? I have tried
to reproduce the issue you point out, exactly with the data you provided
but my Alpine handles it correctly. I tried adding a perido as Adam
suggested and also a non 8-bit character.

Would you mind sending me real data that shows the problem? Thank you.
--
Eduardo
https://tinyurl.com/yc377wlh (web)
http://repo.or.cz/alpine.git (Git)
d...@brannerchinese.com
2021-12-24 18:47:25 UTC
Permalink
Post by Eduardo Chappa
if you do not mind, could you send me a real life example?
Two examples sent off-list.
Eduardo Chappa
2021-12-25 01:39:10 UTC
Permalink
Post by ***@brannerchinese.com
Post by Eduardo Chappa
if you do not mind, could you send me a real life example?
Two examples sent off-list.
Thank you dpb, I have analyzed your messages and the problem is that the
"personal name" part is quoted and encoded. When alpine decodes it, it is
the first time it finds the quotes, but it keeps them as part of the name,
so when you take the address to the addressbook they reverse and have the
weird look.

I am solving this problem by removing the quotes before they are offered
to you for saving in the addressbook.

A commit of the solution of this issue will be released soon.

Thank you!
--
Eduardo
https://tinyurl.com/yc377wlh (web)
http://repo.or.cz/alpine.git (Git)
Loading...