Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

[Force Guest Sign In] Does this just redirect when HTML is the output?

edited December 2010 in Vanilla 2.0 - 2.8
Vanilla has many output formats other than HTML, such as RSS, AJAX and JSON. Redirecting to the login page (or any other HTML-based page) in the event that one of these formats is requested should not happen.

For example, an application wanting a list of users in JSON format is not going to make any sense of the HTML login page.

Is this how it works, and if not, are there any checks that can be put into place to return the appropriate page (e.g. for JSON it may just be an error message record).
Sign In or Register to comment.