Description
Gitea Version
1.15.0
Git Version
2.27.0
Operating System
Windows Server 2019
How are you running Gitea?
We used the download from the Gitea website and are running it as a service on Windows, as described in the installation instructions.
Database
SQLite
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Description
When using the "Reference this issue"-feature for an existing issue, it creates a new issue by quoting the previous one. At the bottom of the issue, there is a reference to the original author. However, in our case, it does not tag it correctly: it takes the display name (so in my case it would print @Jelle%20Hulter
instead of @jellehulter
using my username).
I was unable to reproduce it on the demo site, somehow it shows the username there for issues instead of the display name/full name which is attached to the account. Tried committing a commit which used the same email as the Gitea account but that didn't help either.
After this, I noticed that our Gitea configuration had the DEFAULT_SHOW_FULL_NAME
setting set to true which caused this change. Apparently, the "Reference this issue"-window uses this setting to determine if it should use either the username or the full name, while this should be just the display name.
Maybe this has already been fixed in the meanwhile, I tried taking a look in the PR and issue history but I was unable to find a similar issue.
Screenshots
Here, the username would be expected instead of the full name (and hence still the percentage-sign encoding of a space)