Optionally check for valid paths before redirection

Created on 6 May 2019, about 5 years ago
Updated 22 May 2024, about 1 month ago

I have run into a situation where I would rather not have an anon user redirected to login if the request would have ultimately resulted in a 404 error. I'd rather them get the 404.

Currently the behavior for example for a path such as /lkajshdlkjhasdjhalkjsh would be to redirect to /user/login?destination=lkajshdlkjhasdjhalkjsh.

✨ Feature request
Status

Needs work

Version

1.0

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada acrazyanimal

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024