From 45d5ec1f181724e971aff188a2059152e72aa7bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20=C5=A0ediv=C3=BD?= Date: Fri, 30 Jul 2021 14:31:08 +0200 Subject: [PATCH] Matrix double slash in URL for API call fixed (#411) --- apprise/plugins/NotifyMatrix.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apprise/plugins/NotifyMatrix.py b/apprise/plugins/NotifyMatrix.py index dd72352e..35a3e1e8 100644 --- a/apprise/plugins/NotifyMatrix.py +++ b/apprise/plugins/NotifyMatrix.py @@ -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