iv-org / invidious

Invidious is an alternative front-end to YouTube
https://invidious.io
GNU Affero General Public License v3.0
16.31k stars 1.81k forks source link

[Bug] Playlist atom feeds return HTTP 200 for non-existent playlists #4021

Open absidue opened 1 year ago

absidue commented 1 year ago

Describe the bug Instead of returning an HTTP 500 status code like the channel atom feed or a 404 like YouTube does for both feeds, Invidious returns an HTTP 200 status code for non-existent playlists, with the content type: application/atom+xml but with this body:

<!DOCTYPE html>
<html/>

Instead of pretending everything is fine, Invidious should either return a 500 with an error response like the channel atom feed or 404 like YouTube does.

Steps to Reproduce https://test.invidious.io/feed/playlist/ZZZ

github-actions[bot] commented 1 week ago

This issue has been automatically marked as stale and will be closed in 30 days because it has not had recent activity and is much likely outdated. If you think this issue is still relevant and applicable, you just have to post a comment and it will be unmarked.

absidue commented 1 week ago

Not stale