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

Special characters æøå in image filenames does not render in Safari

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: High High
    • None
    • 1.8.0
    • Field types
    • Mac OS X Sierra 10.12.3
      Safari Version 10.0.3 (12602.4.8)

    Description

      When uploading an image with filename æøå the image is not properly displayed in Safari when viewing a rendered template with that image (article template for example).

      The path to the image is not properly encoded it seems. When displaying the image in Chrome and copying out the URL I get:
      http://localhost/var/site/storage/images/0/5/3/0/10350-1-eng-GB/test%20%C3%A6%C3%B8a%CC%8A.jpg

      That image works fine in Chrome and I can also fetch the image with CURL.

      In Safari I copy the URL for the image (which is a 404):
      http://localhost/var/site/storage/images/0/5/3/0/10350-1-eng-GB/test%20æøå.jpg

      The images are stored in S3. The S3 images can be shown in Safari and uses URLs like:
      https://s3.eu-central-1.amazonaws.com/site-storage/DOCKER_DB/images/0/5/3/0/10350-1-eng-GB/test+æøå.jpg

      So the issue seems to be related to displaying images only.

      Related issue: https://jira.ez.no/browse/EZP-26981

      Attachments

        Activity

          People

            Unassigned Unassigned
            bard.farstad-obsolete@ez.no Bård Farstad (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: