mirror of
				https://github.com/zulip/zulip.git
				synced 2025-10-31 12:03:46 +00:00 
			
		
		
		
	webhooks/bitbucket2: Decode improperly encoded stream names and topics.
This commit is contained in:
		| @@ -69,10 +69,12 @@ def api_bitbucket2_webhook(request: HttpRequest, user_profile: UserProfile, | |||||||
|         body = body_function(payload) |         body = body_function(payload) | ||||||
|  |  | ||||||
|     if type != 'push': |     if type != 'push': | ||||||
|         check_send_webhook_message(request, user_profile, subject, body) |         check_send_webhook_message(request, user_profile, subject, | ||||||
|  |                                    body, unquote_url_parameters=True) | ||||||
|     else: |     else: | ||||||
|         for b, s in zip(body, subject): |         for b, s in zip(body, subject): | ||||||
|             check_send_webhook_message(request, user_profile, s, b) |             check_send_webhook_message(request, user_profile, s, b, | ||||||
|  |                                        unquote_url_parameters=True) | ||||||
|  |  | ||||||
|     return json_success() |     return json_success() | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user