From 3031cd97d29ada4ca9de06967733248324095abf Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Fri, 4 Jul 2008 09:41:27 +0300 Subject: [PATCH] obexd: Spaces don't need to be escaped since we quote the name attribute --- obexd/src/ftp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/obexd/src/ftp.c b/obexd/src/ftp.c index 416f7b5b7..4d7c52f62 100644 --- a/obexd/src/ftp.c +++ b/obexd/src/ftp.c @@ -95,7 +95,7 @@ static gchar *file_stat_line(gchar *filename, struct stat *fstat, strftime(ctime, 16, "%Y%m%dT%H%M%S", gmtime(&fstat->st_ctime)); strftime(mtime, 16, "%Y%m%dT%H%M%S", gmtime(&fstat->st_mtime)); - escaped = g_uri_escape_string(filename, "", TRUE); + escaped = g_uri_escape_string(filename, " ", TRUE); if (S_ISDIR(fstat->st_mode)) ret = g_strdup_printf(FL_FOLDER_ELEMENT, escaped, -- 2.47.3