No Code Attached Yet bug
avatar coolcat-creations
coolcat-creations
4 Jul 2024

Steps to reproduce the issue

Upload and assign an image with blanks to an article
Upload and assign an image without blanks to an article
Access the rss feed to the category blog or featured articles view where this image should be included.

Expected result

Both images should appear in the feed (actually in an Tag - but thats another topic - they should at least appear in the description tag

Actual result

the image with the blanks is not rendered correctly but with an invalid src

System information (as much as possible)

Joomla 5.1.1
Featured and Blog View

avatar coolcat-creations coolcat-creations - open - 4 Jul 2024
avatar joomla-cms-bot joomla-cms-bot - change - 4 Jul 2024
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 4 Jul 2024
avatar brianteeman
brianteeman - comment - 4 Jul 2024

What do you mean by "an image with blanks"

avatar coolcat-creations
coolcat-creations - comment - 4 Jul 2024

@brianteeman Image with a title with blanks, for example: this is an image.jpg
It will result in this%20is%20an%20image.jpg as a value and also can be retrieved and is shown in the blog but the feed wouldn't render it anyway

avatar brianteeman
brianteeman - comment - 4 Jul 2024

just to be clear as there is a translation issue here. You are saying that the problem is with a file that has spaces in the filename

avatar coolcat-creations
coolcat-creations - comment - 4 Jul 2024

Yes, if the image file name has spaces (I thought it's called blanks) in the file name the rss feed does not show the correct url in the image but just the root url.

avatar brianteeman
brianteeman - comment - 4 Jul 2024

Thanks for clarifying that. I can confirm that an image with spaces in the filename is not included in the source of the rss feed. I assume that this is what you are seeing

Without spaces
<description><![CDATA[<div class="feed-description"><p><img src="https://brianstest.site//images/filename.jpg" alt="Boy in blue ski jacket holding a big pile of snowballs"></p>

With spaces
<description><![CDATA[<div class="feed-description"><p><img src="https://brianstest.site/" alt="Boy in blue ski jacket holding a big pile of snowballs"></p>

avatar coolcat-creations
coolcat-creations - comment - 4 Jul 2024

Correct - also double slashes on the correct ones

avatar Quy Quy - change - 4 Jul 2024
Labels Added: bug
avatar Quy Quy - labeled - 4 Jul 2024
avatar level420
level420 - comment - 4 Nov 2024

This bug is also present in Joomla 4 up to version 4.4.9.

Add a Comment

Login with GitHub to post a comment