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

Fix 500 errors on searching invalid URLs #3613

Merged
merged 1 commit into from
Jun 6, 2017

Conversation

unarist
Copy link
Contributor

@unarist unarist commented Jun 6, 2017

Fixes #3461

Searching invalid feed URLs causes 500 error from #2812. It should returns empty results without error.

For example:

Actually, FetchAtomService returns nil when the specified URL returns non-200 responses or when it doesn't have any atom links, not [nil, ...].

cc @mjankowski

@Gargron Gargron merged commit e34c5a3 into mastodon:master Jun 6, 2017
@unarist unarist deleted the fix-fetch-remote-resource branch June 21, 2017 17:35
koteitan pushed a commit to koteitan/mastodon that referenced this pull request Jun 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants