<b> tags in user registration notification
|Reported by:||willg@…||Owned by:||hasienda|
|Severity:||normal||Keywords:||HTML escape i18n|
When a user registers a new account, they're greeted with a notification with this text:
You may login as user <b>USERNAME</b> now.
The <b> </b> tags come from using tag.b in the value of the formatting dict, but that's wrong since the < and > get encoded.
Also, "login" is a noun. You really want to say "log in" here.
The below takes out the tag.b and fixes login -> log in:
Index: web_ui.py =================================================================== --- web_ui.py (revision 10593) +++ web_ui.py (working copy) @@ -460,8 +460,8 @@
"""Registration has been finished successfully.
- You may login as user %(user)s now.""",
+ You may log in as user %(user)s now.""", + user=req.args.get('username'))))))
datareset_password_enabled? = AccountModule(self.env
Change History (7)
comment:1 in reply to: ↑ description Changed 4 years ago by hasienda
- Keywords HTML escape i18n added
- Status changed from new to assigned