-
Notifications
You must be signed in to change notification settings - Fork 510
Closed
Description
Describe the bug
The custom pages you can add to event menus all have an id. You can cycle through them by visiting e.g. https://events.example.com/event/12/page/345 which will redirect to https://events.example.com/event/12/page/345-sekrit-page . If the user doesn't have permission for that page, they can still read the title via the URL slug.
To Reproduce
Steps to reproduce the behavior:
- Create custom pages that have access restrictions
- Visit the URL in a private window
- See redirected URL title
Expected behavior
Access restrictions should be applied before the redirect occurs. If the user has no access, the URL should not redirect.