Skip to content

Commit 7fe3f1d

Browse files
committed
issue2431638 wrong registration link in bounce mail.
For non-registered we used a wrong link to the registration page.
1 parent 83570e7 commit 7fe3f1d

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

CHANGES.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ Fixed:
6666
as this broke keep_quoted_text=no in certain cases. We also fix a bug
6767
where keep_quoted_text=no would drop the last line of a non-quoted
6868
section if there wasn't an empty line between the next quotes.
69+
- issue2431638 wrong registration link in bounce mail for non-registered
70+
users reported *years* ago by anonymous
6971

7072

7173
2011-07-15: 1.4.19

roundup/mailgw.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -843,7 +843,7 @@ def get_author_id(self):
843843
tracker_web = self.config.TRACKER_WEB
844844
registration_info = """ Please register at:
845845
846-
%(tracker_web)suser?template=register
846+
%(tracker_web)suser?@template=register
847847
848848
...before sending mail to the tracker.""" % locals()
849849

test/test_mailgw.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1901,7 +1901,7 @@ def testNewUserAuthor(self):
19011901
body_diff = self.compareMessages(str(value), """
19021902
You are not a registered user. Please register at:
19031903
1904-
http://tracker.example/cgi-bin/roundup.cgi/bugs/user?template=register
1904+
http://tracker.example/cgi-bin/roundup.cgi/bugs/user?@template=register
19051905
19061906
...before sending mail to the tracker.
19071907
@@ -2030,7 +2030,7 @@ def testUnknownUser(self):
20302030
20312031
You are not a registered user. Please register at:
20322032
2033-
http://tracker.example/cgi-bin/roundup.cgi/bugs/user?template=register
2033+
http://tracker.example/cgi-bin/roundup.cgi/bugs/user?@template=register
20342034
20352035
...before sending mail to the tracker.
20362036

0 commit comments

Comments
 (0)