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

Consider returning HTTP 500 for feed URLs #3

Open
JakeGinnivan opened this issue Oct 29, 2012 · 0 comments
Open

Consider returning HTTP 500 for feed URLs #3

JakeGinnivan opened this issue Oct 29, 2012 · 0 comments

Comments

@JakeGinnivan
Copy link
Member

From @mabster

When a database error occurs, we redirect to the admin login page with a databaseIssue=true URL parameter (line 27 in /src/FunnelWeb.Web/Application/RequireUpdatedDatabaseHttpModule.cs).
This is not useful when requesting a feed URL.

I suggest we add a special case to the method which tests if the request if calling a feed URL ("/feed" and "/commentFeed") and simply return an HTTP 500 or 503 to readers.

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

No branches or pull requests

1 participant