You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
Side note: also appears without office server when using an PDF for me. The actual issue is that the office and pdfviewer macros use the comma as separator to show several files. This comma needs to be e.g. escaped if part of a file name.
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
The text was updated successfully, but these errors were encountered: