talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit 22d94ce01f95c50998c3dd8b60a368862a1d3e62
parent e3bb5c6ac8a605bdeb836f4efeb5af02a8bbc00e
Author: Andrej Kacian <ticho@claws-mail.org>
Date:   Sun, 18 Dec 2016 22:34:44 +0100

Do not strip plus sign when drag&drop attaching files.

Closes bug #3742.

Diffstat:
Msrc/common/utils.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/common/utils.c b/src/common/utils.c @@ -1374,7 +1374,7 @@ GList *uri_list_extract_filenames(const gchar *uri_list) *file = '\0'; strncpy(escaped_utf8uri, p, q - p + 1); escaped_utf8uri[q - p + 1] = '\0'; - decode_uri(file, escaped_utf8uri); + decode_uri_with_plus(file, escaped_utf8uri, FALSE); /* * g_filename_from_uri() rejects escaped/locale encoded uri * string which come from Nautilus.