-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Apostrophe shows as HTML entity when adding user to organization #17362
Comments
Related issue: #2122 |
Able to duplicate at least partially on try.gitea.io https://try.gitea.io/org/testOrf/teams/testorf-test-team: |
Thanks @zeripath for confirming. |
@jhult are the two places I've demonstrated the only places where it happens? I.e. it's just in the drop-downs? |
@zeripath, yes the issue appears to only occur in drop-downs. |
Hmm... the problem is: Line 52 in 35b918f
This makes the strange assumption that'd we'd want users Full Names to be renderable... |
I'm not sure that we actually allow this. |
Can this issue be closed? The PR is merged. |
I don't think we can backport the fixing PR as it's technically breaking. Therefore I'm removing this from 1.15.6 milestone and moving it to 1.16 |
Gitea Version
1.15.3
Git Version
2.30.2
Operating System
alpine
How are you running Gitea?
Docker via
gitea/gitea:latest-rootless
Database
SQLite
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Description
Create a user with an apostrophe in their name. Add them to an organization. Notice that the apostrophe is shown as the HTML entity (
'
).Cannot test on try.gitea.io since I need permissions (which I don't have) to add the user to an organization.
User is coming from an OpenID registry.
Screenshots
No response
The text was updated successfully, but these errors were encountered: