mirror of
https://github.com/caronc/apprise.git
synced 2025-12-15 10:04:06 +08:00
Matrix double slash in URL for API call fixed (#411)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user