From 7e16332de44d200cb86abeef0a47c495ff2cbcae Mon Sep 17 00:00:00 2001 From: Xisco Fauli Date: Tue, 3 Nov 2015 19:02:23 +0100 Subject: get-bugzilla-attachments: RSS query doesn't work with '+' character MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit eg. image/xml+svg Change-Id: I1b6b6f71d02fa415c3470faadbe8d316aaf0f677 Reviewed-on: https://gerrit.libreoffice.org/19761 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- bin/get-bugzilla-attachments-by-mimetype | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/get-bugzilla-attachments-by-mimetype b/bin/get-bugzilla-attachments-by-mimetype index 3b253bdf124e..001ae81fa42f 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) -- cgit