mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
hipchat api v2 rooms are now url escaped
This commit is contained in:
@@ -141,7 +141,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:
|
||||
|
||||
Reference in New Issue
Block a user