xwikisas / application-filemanager

XWiki application to manage a hierarchy of folders and files
GNU Lesser General Public License v2.1
0 stars 4 forks source link

After the uploading file File Manager stores it in database as document reference with \ symbol at the end of the name before the type format #86

Open petrenkonikita112263 opened 10 months ago

petrenkonikita112263 commented 10 months ago

Environment: XWiki 15.9, Windows 10.

Prerequisites:

Step to reproduce:

  1. Open the major FileManager page from the applications tab or navigate into "FileManager.WebHome".
  2. Upload any file with the sample name "test image".
  3. Click on the newly uploaded file and switch to Information tab from More actions menu or use shotcut.

Actual result: The page that stores the file will have a reference "FileManager.test image\". This might lead to issues if user decides to use File Manager Document macro and provides the page reference "FileManager.test image" - the result will be nothing (which is another issue).

Expected result: The page reference with uploaded file doesn't have \ symbol.

Behavior msedge_pJ4wWq1IR3