Merge pull request #2862 from coreos-inc/bb-webhook-encoding

Remove encoding of credentials in build trigger web hook
This commit is contained in:
josephschorr 2017-09-07 11:41:11 -04:00 committed by GitHub
commit 02d54cd284

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, '', '', ''))