Fix invalid extention 33/128233/1 accepted/tizen/unified/20170510.012935 submit/tizen/20170508.071240
authormin7.choi <min7.choi@samsung.com>
Mon, 8 May 2017 06:48:34 +0000 (15:48 +0900)
committermin7.choi <min7.choi@samsung.com>
Mon, 8 May 2017 06:48:34 +0000 (15:48 +0900)
Change-Id: I5fb84b2b3adf54ffaeb8342261e56c120c0253b7
Signed-off-by: min7.choi <min7.choi@samsung.com>
agent/download-agent-file.c
packaging/download-provider.spec

index a7f5476..3b5c7f1 100755 (executable)
@@ -431,7 +431,8 @@ da_ret_t __decide_file_path(da_info_t *da_info)
 
        if (!extension
                && strncmp(file_info->mime_type, "application/json", strlen("application/json"))
-               && strncmp(file_info->mime_type, "application/x-xz", strlen("application/x-xz"))) {
+               && strncmp(file_info->mime_type, "application/x-xz", strlen("application/x-xz"))
+               && strncmp(file_info->mime_type, "application/rss+xml", strlen("application/rss+xml"))) {
                extension = __get_extension_name(file_info->mime_type,
                                file_name_from_header, url);
        }
index 5cb1b09..ffac3f4 100755 (executable)
@@ -1,7 +1,7 @@
 %define _ux_define tizen2.3
 Name:       download-provider
 Summary:    Download the contents in background
-Version:    2.1.76
+Version:    2.1.77
 Release:    0
 Group:      Development/Libraries
 License:    Apache-2.0