[Libreoffice-commits] core.git: bin/get-bugzilla-attachments-by-mimetype

Xisco Fauli anistenis at gmail.com
Tue Nov 3 12:31:52 PST 2015


 bin/get-bugzilla-attachments-by-mimetype |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 7e16332de44d200cb86abeef0a47c495ff2cbcae
Author: Xisco Fauli <anistenis at gmail.com>
Date:   Tue Nov 3 19:02:23 2015 +0100

    get-bugzilla-attachments: RSS query doesn't work with '+' character
    
    eg. image/xml+svg
    
    Change-Id: I1b6b6f71d02fa415c3470faadbe8d316aaf0f677
    Reviewed-on: https://gerrit.libreoffice.org/19761
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/bin/get-bugzilla-attachments-by-mimetype b/bin/get-bugzilla-attachments-by-mimetype
index 3b253bd..001ae81 100755
--- a/bin/get-bugzilla-attachments-by-mimetype
+++ b/bin/get-bugzilla-attachments-by-mimetype
@@ -247,7 +247,7 @@ def get_through_rss_query(queryurl, mimetype, prefix, suffix):
                 print(entry['id'] + " failed: " + str(sys.exc_info()[0]))
                 pass
 
-    query = create_query(escape(mimetype))
+    query = create_query(escape(mimetype.replace("+","%2B")))
     query['ctype'] = 'rss'
 
     files = get_downloaded_files(prefix, suffix)


More information about the Libreoffice-commits mailing list