Remove encoding of credentials in build trigger web hook

This now breaks BitBucket
This commit is contained in:
Joseph Schorr 2017-09-07 11:27:02 -04:00
parent 178b512b4d
commit e0820c6be5

View file

@ -30,7 +30,7 @@ logger = logging.getLogger(__name__)
def _prepare_webhook_url(scheme, username, password, hostname, path):
auth_hostname = '%s:%s@%s' % (quote(username), quote(password), hostname)
auth_hostname = '%s:%s@%s' % (username, password, hostname)
return urlunparse((scheme, auth_hostname, path, '', '', ''))