?
avatar chmst
chmst
3 Aug 2021

Steps to reproduce the issue

Make a custom field of type media for articles
Have image with a name like "water 1.jpg" with a space
Make a new article and select this image into the field.

Expected result

The image is displayed in the frontend

Actual result

The image is not displayed.

Note

Now rename the image to water1.jpg and repeat, the image is displayed.

The raw value is:
[rawvalue] => {"imagefile":"images/bilder/water%201.jpg#joomlaImage://local-images/bilder/water 1.jpg?width=425&height=319","alt_text":"ggz"}

See the space in the image name.

Additional comments

working on win10, xampp. php 7.4

avatar chmst chmst - open - 3 Aug 2021
avatar joomla-cms-bot joomla-cms-bot - change - 3 Aug 2021
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 3 Aug 2021
avatar chmst chmst - change - 3 Aug 2021
The description was changed
avatar chmst chmst - edited - 3 Aug 2021
avatar brianteeman
brianteeman - comment - 3 Aug 2021

confirmed at a guess its from #33724 and the space needs to be converted to an entity in both places not just the first

avatar brianteeman
brianteeman - comment - 3 Aug 2021

Please test #35038 My guess was wrong

avatar richard67 richard67 - change - 3 Aug 2021
Status New Closed
Closed_Date 0000-00-00 00:00:00 2021-08-03 20:44:19
Closed_By richard67
Labels Added: ?
Removed: ?
avatar richard67 richard67 - close - 3 Aug 2021
avatar richard67
richard67 - comment - 3 Aug 2021

Closing as having a pull request. Please test #35038 . Thanks in advance.

Add a Comment

Login with GitHub to post a comment