renderUser creates broken link

Description

When adding the reporter into a mail template using #renderUser($!issue.reporter), the link that gets created in the mail is the following:
href="/secure/ViewProfile.jspa?name=<Username>"

Not the full link of the application is stated but only this shortened part. When clicking the link in a mail, this will redirect to:
file:///C:/secure/ViewProfile.jspa?

This does obviously not work and causes confusion for users because we send mails with broken links.

Also, right after the user name in the mail, there is an additional space that is not supposed to be there (see screenshot attached).

Is there a way to
a) either do not generate a link at all and just display the user name as plain text
b) or create the correct link to the user profile

Environment

None

Preliminary Test Cases

None

Assignee

Tibor Hegyi

Reporter

Tibor Hegyi

Labels

None

Access to limited visibility issues

None

Product platform

None

Module Dependency

None

Fix versions

Priority

Critical
Configure