Preconditions:
The office server needs to be configured and connected to the XWiki instance. Add attachments to the page used (doc, docx, xls, xlsx, ppt, pptx, and pdf) that have special characters in the title.
Steps to reproduce:
- Edit a page
- Click on Insert > Other macros
- Search and select View Files
- In the "att--filename" text box add the name of a file from the attachments section, including the file extension eg. "Te$t with #special + ch@rs - test. It's ^a test! Test 1 = and (2) & {3}, [4]. 100% a test 1; 2` 3; 5. and 10 spaces."
- Click on Submit
- Click on Save & View
Expected results: The document selected is shown in the wiki page.
Actual results: Because of the comma , the title of the attachment is separated in 2 separate tabs which results in an error "Error: The document [xwiki:View Files macro.Te$t with #special + ch] does not exists or you have no access to that document." The file isn't shown.

Environment: Windows 11, XWiki 14.10.10 with MySQL 8.0, Chrome 114, Pro Macros 1.9
Preconditions:
The office server needs to be configured and connected to the XWiki instance. Add attachments to the page used (doc, docx, xls, xlsx, ppt, pptx, and pdf) that have special characters in the title.
Steps to reproduce:
Expected results: The document selected is shown in the wiki page.
Actual results: Because of the comma
,the title of the attachment is separated in 2 separate tabs which results in an error "Error: The document [xwiki:View Files macro.Te$t with #special + ch] does not exists or you have no access to that document." The file isn't shown.Environment: Windows 11, XWiki 14.10.10 with MySQL 8.0, Chrome 114, Pro Macros 1.9