webhooks/bitbucket: Decode improperly encoded stream names and topics.

This commit is contained in:
Eeshan Garg 2018-12-28 16:58:52 -03:30 committed by Tim Abbott
parent 830dd68e45
commit 31f82705e2

View File

@ -45,5 +45,6 @@ def api_bitbucket_webhook(request: HttpRequest, user_profile: UserProfile,
content = get_push_commits_event_message(payload['user'], None, branch, commits)
subject = TOPIC_WITH_BRANCH_TEMPLATE.format(repo=repository['name'], branch=branch)
check_send_webhook_message(request, user_profile, subject, content)
check_send_webhook_message(request, user_profile, subject, content,
unquote_url_parameters=True)
return json_success()