diff options
author | Xisco Fauli <anistenis@gmail.com> | 2015-11-03 19:02:23 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-11-03 20:31:27 +0000 |
commit | 7e16332de44d200cb86abeef0a47c495ff2cbcae (patch) | |
tree | 3813d0196372e1dda722843ba3e7f5d4b5be9b81 /bin | |
parent | 0c6305a01f13f5c09dc4c000d5b250319fffe0e4 (diff) |
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@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/get-bugzilla-attachments-by-mimetype | 2 |
1 files changed, 1 insertions, 1 deletions
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) |