From cb9a5d5a1770f0e7d0f9015e1c6b16a189b16362 Mon Sep 17 00:00:00 2001 From: Marcus Huewe Date: Tue, 24 Jun 2014 23:05:38 +0200 Subject: [PATCH] - show_project_sourceinfo: quote package names --- osc/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osc/core.py b/osc/core.py index 53b0d607..71a518fa 100644 --- a/osc/core.py +++ b/osc/core.py @@ -3588,7 +3588,7 @@ def show_upstream_xsrcmd5(apiurl, prj, pac, revision=None, linkrev=None, linkrep def show_project_sourceinfo(apiurl, project, nofilename, *packages): query = ['view=info'] if packages: - query.extend(['package=%s' % p for p in packages]) + query.extend(['package=%s' % quote_plus(p) for p in packages]) if nofilename: query.append('nofilename=1') f = http_GET(makeurl(apiurl, ['source', project], query=query))