diff options
author | Tomás Touceda <chiiph@leap.se> | 2013-12-18 09:39:45 -0300 |
---|---|---|
committer | Tomás Touceda <chiiph@leap.se> | 2013-12-18 09:39:45 -0300 |
commit | c9231939260daa2a6cc5028af206438ef237fb17 (patch) | |
tree | 6a8e936195c7ca586da512c4235aeb3618b6b71b | |
parent | 40cd9dc7aaa0298954be174fc3088bb9613845d3 (diff) | |
parent | 63d40a45f97ea663137fdecc55df12fd72ad5d5c (diff) |
Merge remote-tracking branch 'refs/remotes/ivan/bug/4791_url-should-not-end-in-period' into develop
-rw-r--r-- | changes/bug-4791_url-should-not-end-in-period | 1 | ||||
-rw-r--r-- | src/leap/mail/smtp/gateway.py | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/changes/bug-4791_url-should-not-end-in-period b/changes/bug-4791_url-should-not-end-in-period new file mode 100644 index 0000000..d4ff29c --- /dev/null +++ b/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/src/leap/mail/smtp/gateway.py b/src/leap/mail/smtp/gateway.py index a78bd55..a24115b 100644 --- a/src/leap/mail/smtp/gateway.py +++ b/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() |