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

Resolve relative URLs during feed discovery #1631

Conversation

mormegil-cz
Copy link
Contributor

When a feed is added using the feed discovery feature, and the feed link
uses a relative URL, the discovery needs to resolve the URL relative
to the provided website URL.

Fixes #1385

When a feed is added using the feed discovery feature, and the feed link
uses a relative URL, the discovery needs to resolve the URL relative
to the provided website URL.

Fixes nextcloud#1385

Signed-off-by: Mormegil <[email protected]>
@mormegil-cz mormegil-cz force-pushed the bugfix/relative-url-discovery branch from dcfa089 to 6eba9d0 Compare January 12, 2022 14:57
@SMillerDev
Copy link
Contributor

I think this is better fixed in feedio, the library we use here. Can you try and make a pull request there?

@Grotax
Copy link
Member

Grotax commented Mar 11, 2022

I was thinking the other day that we maybe should change the order.

First check if the entered url is a valid feed with feed-io.
If it is, don't do discovery.
If not attempt to do discovery.

And the relative urls, I think it would be nicer if feed-io would manage that.

@stale
Copy link

stale bot commented Apr 16, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@IgorA100
Copy link
Contributor

IgorA100 commented Nov 4, 2023

Solved here: alexdebril/feed-io#422

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feed discovery does not work with relative URLs in links
4 participants