Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-29300

As a website administrator, I want to normalize files with names containing invisible Unicode control chars

    XMLWordPrintable

Details

    Description

      In the past legacy allowed to create content (folders, articles, images, files) which names contain invisible Unicode characters. Therefore, file paths in DFS database and also in the filesystem are stored with these characters.

      After upgrade to eZ Platform, these stored images and files are no longer accessible since FlySystem normalizes paths before loading the file.

      https://github.com/thephpleague/flysystem/blob/0.5.12/src/Util.php#L81-#L82

      There is a need of migration script which should help to normalize file paths stored in the database as well as file names and directories on the filesystem automatically.

      Attachments

        Activity

          People

            Unassigned Unassigned
            kamil.madejski@ibexa.co Kamil Madejski
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: