Skip to content

RedirectHandler issues with non HTML #717

Open
@dereuromark

Description

@dereuromark

When using extension based routing and clearly non-HTML actions, if there are any permission issues
the user gets redirected to /login (302)

The URL e.g. is

/updates/check.json

And the response is expected to be JSON.
So here the expectation would be for the handler to actually ignore the redirect part and just throw the 4xx exception I assume?
As there should be no redirects on such endpoints from the auth part.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions