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

White space at the beginning of a file should be encoded in filesystem store

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 10.1-rc-1
    • Fix Version/s: 10.2
    • Component/s: Storage - File System
    • Labels:
      None
    • Tests:
      Unit
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      https://msdn.microsoft.com/en-us/library/windows/desktop/aa365247.aspx#naming_conventions only mention white space at the end of a file but Windows Explorer does not allow setting a white space at the beginning of a file either.

      Note that the filesystem supports it so it's not causing any issue at XWiki level but it's still better to produce something the Windows Explorer can manipulate just in case.

        Attachments

          Activity

            People

            Assignee:
            tmortagne Thomas Mortagne
            Reporter:
            tmortagne Thomas Mortagne
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response: