fix bug 3235, 'Extraneous double quotes inside base64-encoded From header confuse 'Reply' action'
This commit is contained in:
parent
3a6a70c7b3
commit
9b59699c9e
1 changed files with 2 additions and 1 deletions
|
@ -134,7 +134,8 @@ gchar *unmime_header(const gchar *encoded_str, gboolean addr_field)
|
|||
* We check there are no quotes just to be sure. If there
|
||||
* are, well, the comma won't pose a problem, probably.
|
||||
*/
|
||||
if (addr_field && strchr(decoded_text, ',') && !in_quote) {
|
||||
if (addr_field && strchr(decoded_text, ',') && !in_quote &&
|
||||
!strchr(decoded_text, '"')) {
|
||||
gchar *tmp = g_strdup_printf("\"%s\"", decoded_text);
|
||||
g_free(decoded_text);
|
||||
decoded_text = tmp;
|
||||
|
|
Loading…
Reference in a new issue