Skip to content

Resolve relative href during discovery #417

Open
@sybereal

Description

@sybereal

Currently, if a page contains a feed link with, e.g., href="/rss.xml" or href="rss.xml", feed discovery will return the relative URL as is, instead of resolving it to an absolute URL.

I don't really have any experience with PHP, but if you could give some pointers on how to implement it. There was an existing PR in nextcloud/news#1631, but that seems to depend on pear/net_url2, and I can understand if you do not want to add another dependency just for this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions