Quote the package for url parsing. This should solve progress issue#1892.

This commit is contained in:
Tomáš Chvátal 2014-03-24 14:24:43 +01:00
parent 7d9ffa07ac
commit ea8042869f

View File

@ -100,7 +100,7 @@ class RequestFinder(object):
""" """
query = 'states=new,review,declined&project=openSUSE:Factory&view=collection&package={}' query = 'states=new,review,declined&project=openSUSE:Factory&view=collection&package={}'
query = query.format(package) query = query.format(urllib2.quote(package))
url = makeurl(self.apiurl, ['request'], query) url = makeurl(self.apiurl, ['request'], query)
f = http_GET(url) f = http_GET(url)