Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Joomla 5.1.x - If intro image name (url) contains a blank the img src in rss feed is invalid #43742

Open
coolcat-creations opened this issue Jul 4, 2024 · 6 comments

Comments

@coolcat-creations
Copy link
Contributor

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

@brianteeman
Copy link
Contributor

What do you mean by "an image with blanks"

@coolcat-creations
Copy link
Contributor Author

@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

@brianteeman
Copy link
Contributor

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

@coolcat-creations
Copy link
Contributor Author

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.

@brianteeman
Copy link
Contributor

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>

@coolcat-creations
Copy link
Contributor Author

Correct - also double slashes on the correct ones

@Quy Quy added the bug label Jul 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants