hipchat api v2 rooms are now url escaped

reviewable/pr18780/r1
Brian Beggs 9 years ago
parent 84f2aa6167
commit ed35159702

@ -147,7 +147,7 @@ def send_msg_v2(module, token, room, msg_from, msg, msg_format='text',
POST_URL = api + NOTIFY_URI_V2
url = POST_URL.replace('{id_or_name}', room)
url = POST_URL.replace('{id_or_name}', urllib.pathname2url(room))
data = json.dumps(body)
if module.check_mode:

Loading…
Cancel
Save