No Code Attached Yet PBF
avatar PixedBo
PixedBo
14 Feb 2025

Steps to reproduce the issue

  • Have some articles with intro images. Some of the images must have white spaces in the name like "my image.jpg"
  • Tag those articles with a specific tag (any tag you want)
  • Create a tagged items menu item that show the list of articles with a specific tag
  • Enable the options "Item Images -> Show"

Expected result

I can see all the tagged items with the intro image

Actual result

Only images with no spaces in the name are shown

System information (as much as possible)

Joomla 5.2.3 without 3d party extensions. PHP 8.3

Additional comments

I know that putting spaces in image or folder names is not a good practice, but our clients may not know that and anyway it is allowed by the media manager.

avatar PixedBo PixedBo - open - 14 Feb 2025
avatar joomla-cms-bot joomla-cms-bot - change - 14 Feb 2025
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 14 Feb 2025
avatar brianteeman
brianteeman - comment - 14 Feb 2025

duplicate report of #43742 ?

avatar PixedBo
PixedBo - comment - 14 Feb 2025

Maybe, i don't know if the images of RSS and tag list are processed in the same way.
The problem does not occur in layout blog view o article view: images with spaces are shown correctly.

avatar fgsw
fgsw - comment - 14 Feb 2025

Issue confirmed:

Blog Tag
Image Image
avatar MacJoom MacJoom - change - 21 Feb 2025
Labels Added: PBF
avatar MacJoom MacJoom - labeled - 21 Feb 2025
avatar dynamicsites
dynamicsites - comment - 22 Feb 2025

Confirmed (5.3.0-beta1)
Is it ok to post links here from my PBF instance?

avatar webfeuerflo
webfeuerflo - comment - 22 Feb 2025

Confirmed on 5.3.0-beta1

avatar exlemor
exlemor - comment - 22 Feb 2025

Since this is not recommended for accessibility, SEO, and browser consistency reasons why are we even allowing it / entertaining allowing spaces in filenames? (I know I am going to get beaten up for that but figured I'd ask lol)

avatar PixedBo
PixedBo - comment - 22 Feb 2025

Agreed! It would be great to have a file name sanitisation system, as JCE already does natively, for example. It would not create backward compatibility problems and would help a lot in the future.

Add a Comment

Login with GitHub to post a comment