From 161f2dfa20525a6c3b1d1788e18cab9daf38ffbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jelmer=20Vernoo=C4=B3?= Date: Sat, 19 Jan 2019 14:15:48 +0000 Subject: [PATCH] Revert "Removes potential '//' from email links (#420)" It breaks some installations. See https://github.com/posativ/isso/issues/523 This reverts commit 1a3f803b966cd32da367978f306b923d433c5cda. --- isso/ext/notifications.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/isso/ext/notifications.py b/isso/ext/notifications.py index 521cc19..4ff4671 100644 --- a/isso/ext/notifications.py +++ b/isso/ext/notifications.py @@ -77,8 +77,6 @@ class SMTP(object): self.isso = isso self.conf = isso.conf.section("smtp") self.public_endpoint = isso.conf.get("server", "public-endpoint") or local("host") - if self.public_endpoint.endswith('/'): - self.public_endpoint = self.public_endpoint.rstrip('/') self.admin_notify = any((n in ("smtp", "SMTP")) for n in isso.conf.getlist("general", "notify")) self.reply_notify = isso.conf.getboolean("general", "reply-notifications")