This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-aab4d93e-3c05-415f-ab14-a198e864d62c XWIKI-23256 Open

User sheet breaks if user has special characters set as their first/last name

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-8a9f70a1-c0e6-4c35-a70d-4716b58ebbef Brassat Alexandru created this issue on 29/May/25 16:06
 
Summary: User sheet breaks if user has special characters set as their first/last name
Issue Type: cid:jira-generated-image-avatar-aab4d93e-3c05-415f-ab14-a198e864d62c Bug
Affects Versions: 14.10, 16.10.5
Assignee: Unassigned
Attachments: image-2025-05-29-16-54-51-021.png, image-2025-05-29-17-00-35-828.png, image-2025-05-29-17-01-26-140.png, image-2025-05-29-17-02-03-055.png
Components: User - User Profile
Created: 29/May/25 16:06
Environment: OS: linux mint
browser: firefox
Priority: cid:jira-generated-image-static-minor-1b6c34ad-643f-407e-b50b-6959613e0e9b Minor
Reporter: Brassat Alexandru
Description:

The first and last names in the user profile are not escaped for xwiki syntax, so `~` are not displayed, and if a user has a name like `]][[` and `]] info [[`, the user profile section will be hidden. (the 2 names behave differently)

43697_image-2025-05-29-16-54-51-021.png

The behavior is different when viewing as the user: (14.10 only)

43695_image-2025-05-29-17-01-26-140.png

And as superadmin:

43694_image-2025-05-29-17-02-03-055.png

The user can still edit the page using the regular edit button instead of the top-right edit button in the missing profile section.