summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorTomás Touceda <chiiph@leap.se>2013-12-18 09:39:45 -0300
committerTomás Touceda <chiiph@leap.se>2013-12-18 09:39:45 -0300
commitbb06e9766f26b6c9dfb883d76358399bc623e9ed (patch)
treee3d6d95a2aca937fd54f00bc327aed9631fdbb54 /mail
parent5f502f74f15e3478b3fd8df6c9aea225ee515ac4 (diff)
parent475974a1b0bd07855a6a9e84b5445d2f30ed4527 (diff)
Merge remote-tracking branch 'refs/remotes/ivan/bug/4791_url-should-not-end-in-period' into develop
Diffstat (limited to 'mail')
-rw-r--r--mail/changes/bug-4791_url-should-not-end-in-period1
-rw-r--r--mail/src/leap/mail/smtp/gateway.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/mail/changes/bug-4791_url-should-not-end-in-period b/mail/changes/bug-4791_url-should-not-end-in-period
new file mode 100644
index 00000000..d4ff29cb
--- /dev/null
+++ b/mail/changes/bug-4791_url-should-not-end-in-period
@@ -0,0 +1 @@
+ o Footer url shouldn't end in period. Closes #4791.
diff --git a/mail/src/leap/mail/smtp/gateway.py b/mail/src/leap/mail/smtp/gateway.py
index a78bd55b..a24115b9 100644
--- a/mail/src/leap/mail/smtp/gateway.py
+++ b/mail/src/leap/mail/smtp/gateway.py
@@ -603,7 +603,7 @@ class EncryptedMessage(object):
from_address = validate_address(self._fromAddress.addrstr)
username, domain = from_address.split('@')
self.lines.append('--')
- self.lines.append('%s - https://%s/key/%s.' %
+ self.lines.append('%s - https://%s/key/%s' %
(self.FOOTER_STRING, domain, username))
self.lines.append('')
self._origmsg = self.parseMessage()