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
Relative paths in RSS feed links #1952
Comments
Do you have an example of a feed where this goes wrong? |
Yes, there is, but this is a Russian site, and most likely it will not be available from another country. |
Can confirm here: https://secluded.site/categories/technology/index.xml (in this case they are relative starting with See also #1605 |
Yes, it seems that the problem is known, but no one wants to solve it :( |
Welcome to open source, if you want something there is an open invitation to fix it yourself. |
For myself, I solved this problem!
After that, absolute URLs will be entered into the database, not relative ones! |
I have optimized my code a bit (by changing the old one and adding one more line) in the file \apps\news\lib\Fetcher\FeedFetcher.php |
I close it as completed: |
IMPORTANT
Read and tick the following checkbox after you have created the issue or place an x inside the brackets ;)
Explain the Problem
If there are relative links in RSS feeds, they don't work! For example, in an XML feed, an initial link like
<link>/epz/order/notice/ea20/view/common-info.html</link>
will result in a 404 error when the feed is shown. will link to the local site, not the RSS feed site...Steps to Reproduce
System Information
Contents of nextcloud/data/nextcloud.log
Paste output here
Contents of Browser Error Console
Read http://ggnome.com/wiki/Using_The_Browser_Error_Console if you are unsure what to put hereThe text was updated successfully, but these errors were encountered: