Skip to content

Commit

Permalink
Properly url quote the query
Browse files Browse the repository at this point in the history
  • Loading branch information
kk7ds committed Apr 1, 2015
1 parent 0704817 commit 26bd34b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dash.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def get_pending_changes(auth_creds, filters, operator, projects):
query += 'status:open'

# Quick hack to make this work for http (needs major cleanup)
url = 'http://review.openstack.org/changes/?q=' + query
url = 'https://review.openstack.org/changes/?q=' + urllib.quote(query)
url += '&o=DETAILED_ACCOUNTS'
url = url.replace(' ', '%20')
req = urllib2.Request(url)
Expand Down

0 comments on commit 26bd34b

Please sign in to comment.