Matrix double slash in URL for API call fixed (#411)

This commit is contained in:
Miroslav Šedivý 2021-07-30 14:31:08 +02:00 committed by GitHub
parent ab6b6b51c7
commit 45d5ec1f18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -283,7 +283,7 @@ class NotifyMatrix(NotifyBase):
default_port = 443 if self.secure else 80
# Prepare our URL
url = '{schema}://{hostname}:{port}/{webhook_path}/{token}'.format(
url = '{schema}://{hostname}:{port}{webhook_path}/{token}'.format(
schema='https' if self.secure else 'http',
hostname=self.host,
port='' if self.port is None