talons

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

commit b05f232613b64f6aea064d0545223082f60de7fb
parent a30ffa8ad80bcb711d4976d29a05573851243a18
Author: Andrej Kacian <ticho@claws-mail.org>
Date:   Sat, 25 Jul 2015 15:05:18 +0200

Fix drag&drop attaching files with % in filename.

Closes bug #2115.

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 @@ -1470,7 +1470,7 @@ GList *uri_list_extract_filenames(const gchar *uri_list) if (!locale_file) locale_file = g_strdup(file + 5); #else - locale_file = g_filename_from_uri(file, NULL, NULL); + locale_file = g_filename_from_uri(escaped_utf8uri, NULL, NULL); #endif result = g_list_append(result, locale_file); }