No Code Attached Yet bug
avatar Sulpher
Sulpher
17 Oct 2022

There is a blog category called blog.
Edit menu item > Integration > RSS Feed Link > show

We can see RSS feed in HTML code at the frontend:

<link href="/index.php/blog?format=feed&amp;type=rss" rel="alternate" type="application/rss+xml" title="RSS 2.0">
<link href="/index.php/blog?format=feed&amp;type=atom" rel="alternate" type="application/atom+xml" title="Atom 1.0">

Then I disable RSS Feed Link parameter and no such lines appears in HTML.

Снимок экрана 2022-10-17 в 14 10 12

BUT! If a user go to index.php/blog?format=feed&type=rss, the feed is still available.
Using typical URL prefix, it is possible to take news from each Joomla based site, if I am not wrong.
This is not good since it allows to grab content from other sites.

My proposal is to give 404 error if RSS Feed Link parameter is set to Hide.

If it is not possible, then maybe a little trick will help:
Param 'Include in Feed' - add NONE option and no content will be added.

Joomla 4.2.3

Votes

# of Users Experiencing Issue
1/1
Average Importance Score
5.00

avatar Sulpher Sulpher - open - 17 Oct 2022
avatar joomla-cms-bot joomla-cms-bot - change - 17 Oct 2022
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 17 Oct 2022
avatar Sulpher Sulpher - change - 17 Oct 2022
The description was changed
avatar Sulpher Sulpher - edited - 17 Oct 2022
avatar Sulpher Sulpher - change - 17 Oct 2022
The description was changed
avatar Sulpher Sulpher - edited - 17 Oct 2022
avatar Sulpher Sulpher - change - 17 Oct 2022
The description was changed
avatar Sulpher Sulpher - edited - 17 Oct 2022
avatar Sulpher Sulpher - change - 17 Oct 2022
The description was changed
avatar Sulpher Sulpher - edited - 17 Oct 2022
avatar Hackwar Hackwar - change - 22 Feb 2023
Labels Added: bug
avatar Hackwar Hackwar - labeled - 22 Feb 2023
avatar brianteeman
brianteeman - comment - 26 Feb 2023

The option says to hide or show the link and it does that correctly

So the question is "Should you be able to access the RSS feed for a menu item if the link is not shown?"

At first look it could be assumed that you should not be able to manually type a link to the rss feed for that menu item. However it is always possible in Joomla to display any piece of content (subject to acl) if you know what to type as the url completely bypassing any menu item restrictions.

So my 2c is that the description of this option accurately describes what it does and that your expectation is both incorrect. In addition your proposal would not always block access to an rss feed

avatar Sulpher
Sulpher - comment - 26 Feb 2023

Ok, let it be, as you said — this is a question of the right terminology.
Yes, a user can access to any content using some manipulation with the URL.
However, in case of RSS the problem is this approach gives a way to import the content from 3rd party resource via RSS link.
And maybe it would be better to make such restriction to block RS feed as a core Joomla feature?

On other hand, I can't say it is a critical problem, I just noticed this and decided to share the idea how to make J better with extra protection in case when a user does not want other persons to grab the content.

avatar brianteeman
brianteeman - comment - 26 Feb 2023

In order to grab the content you would have to know how to craft the url. For that person it would be trivial to scrape the html.

avatar EJBJane
EJBJane - comment - 17 Nov 2023

Hi Brian, I'm actually not really that happy about this non-solution. I'm tackling over 1000 404's right now caused by the Joomla RSS feeds. Not only does the RSS not get a 404, there is a faulty link construction in here somewhere. Images get urls like https://www.dolcevia.com/en//en/images/2023/Regionaal/campania/Ferry_Ischia.jpg and SEF component creates links in articles like Ischia shines in the shadow of Mount Vesuvius
This is quite damaging to my SEO. I've checked this on my other websites which have the same problems.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/38981.
avatar Quy Quy - change - 22 Jun 2024
Status New Closed
Closed_Date 0000-00-00 00:00:00 2024-06-22 16:01:30
Closed_By Quy
avatar Quy Quy - close - 22 Jun 2024
avatar Quy
Quy - comment - 22 Jun 2024

Please test #43692. Thanks.

avatar EJBJane
EJBJane - comment - 23 Jun 2024

Hi there, Thanks for this update. Any reason why the images are still repeating the installation folder? And can i fix that myself? [https://www.dolcevia.com/nl/italie-reizen/agriturismo?format=feed&type=rss ]

Add a Comment

Login with GitHub to post a comment