Details
-
Bug
-
Resolution: Unresolved
-
High
-
None
-
1.8.0
-
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