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

Atom feeds with specific URLs not working - first path segment in URL cannot contain colon #484

Open
4 tasks done
BDGreyson opened this issue Jan 7, 2025 · 1 comment

Comments

@BDGreyson
Copy link

Checklist

  • I have used the search function for OPEN issues to see if someone else has already submitted the same bug report.
  • I have also used the search function for CLOSED issues to see if the problem is already solved and just waiting to be released.
  • I will describe the problem with as much detail as possible.
  • If the bug only to occurs with a certain feed, I will include the URL of that feed.

App version

2.7.4

Where did you get the app from

F-Droid

Android version

Android 15, GrapheneOS

Device model

Google Pixel 7

First occurred

Just started using it today

Steps to reproduce

Try to add the following ATOM URL as new feed:
https://e926.net/posts.atom?tags=+mickey_mouse

Expected behaviour

I assumed the feed could be added like other feeds from that site can be used. A very similar one is working without problem.

Current behaviour

Once you try adding the example link you get the following error:

Unbenannt

The cause seems to be the content of the ATOM file, not the URL itself. A very similar link with different results from the page works without problem right now:

https://e926.net/posts.atom?tags=+minnie_mouse

So the error seems to stem especially from one of the image URL sources contained in the ATOM file.

I would've blamed this on the specific website handling the files incorrectly, but for example another Reader, "Capy Reader" for Android on F-Droid can handle the link/file without any problem.

I will attach the ATOM files in their state as of now just in case, as the result of that specific website, which is an image host, might quickly change state.

The problem is not only caused by Pixiv links, like in the current example, but it also happened with some Discordcdn URLs in the ATOM file.

These are .atom files, but I had to rename them to .txt so I could upload them here:

NotWorking.txt
Working.txt

Logs

No response

@BDGreyson BDGreyson added the Type: Possible bug Issues that seem to be a bug, but haven't been confirmed yet label Jan 7, 2025
@spacecowboy
Copy link
Owner

Nothing to do. The XML is not valid and so can't be parsed.

The error message is misleading. The reason is the initial - in the url: -https://...

This is an error from the site and they should fix their feed.

@spacecowboy spacecowboy added Type: Question / support and removed Type: Possible bug Issues that seem to be a bug, but haven't been confirmed yet labels Jan 8, 2025
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

2 participants