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

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