Uploaded image for project: 'Ibexa IBX'
  1. Ibexa IBX
  2. IBX-368

Unprintable characters in the filename result in an inaccessible file

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • Customer request, 2.5.21, 3.2.9, 3.3.5
    • 3.3.2, 3.2.6, 2.5.19
    • None
    • None

    Description

      When a file is uploaded (for example, an Image) Flysystem strips unprintable characters from the file, which later leads to the wrong URL being generated for file access, resulting in a 404 error.

      Steps to reproduce:
      1. Clean installation of eZ Platform v2.5/Ibexa DXP v3
      2. Prepare a JPG file named (select whole string, copy and paste it):

      teĀ­st.jpg 

      containing "soft hypen" character.
      3. In the back-office, create a new Image containing a previously prepared JPG file.

      Result:
      The newly created Content image will point to a nonexisting file (404 error).

      Expected result:
      The newly created Content image is displayed normaly.

      Note:
      This issue has to be also checked against the legacy installation and upgrade process, as in the legacy the issue wasn't present.

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              mateusz.bieniek@ibexa.co Mateusz Bieniek
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: