Skip to content

Commit

Permalink
[github] Properly quote issue search query
Browse files Browse the repository at this point in the history
This allows for more than keyword to be used.
  • Loading branch information
creesch committed Aug 30, 2014
1 parent 6c5f4e7 commit daa241b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion github.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def findIssue(bot, trigger):
else:
return bot.reply('What are you searching for?')
else:
URL = 'https://api.github.com/legacy/issues/search/%s/open/%s' % (gitAPI[1], trigger.group(2))
URL = 'https://api.github.com/legacy/issues/search/%s/open/%s' % (gitAPI[1], web.quote(trigger.group(2)))

try:
raw = web.get(URL)
Expand Down

0 comments on commit daa241b

Please sign in to comment.