Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-14758

Filesystem-based attachments can overwrite attachment content in a case-insensitive Filesystem

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 8.4
    • Fix Version/s: 10.1-rc-1
    • Component/s: Storage - File System
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      If you're on Windows for example then the FS is case-insensitive but XWiki is case-sensitive.

      So if you have an attachment in ##Space.abc## and another one in ##Space.ABC##, one of them is going to be overwritten...

      One idea is to add a hash (based on the reference for ex) to the storage path on the FS to handle case-insensitive FS.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tmortagne Thomas Mortagne
                Reporter:
                vmassol Vincent Massol
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: