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

health route is a reserved URL #89

Open
elliot-sawyer opened this issue May 19, 2023 · 1 comment
Open

health route is a reserved URL #89

elliot-sawyer opened this issue May 19, 2023 · 1 comment

Comments

@elliot-sawyer
Copy link

We have a client who is unable to publish a page called "Health" with the URL "health" because the default configuration of the environmentcheck module uses /health/check as a defacto reserved word. As far as I can tell there's no way to unset it without resetting the entire Director::rules array

It would be nice if the responsibility of defining a route was left to the developer as part of the initial setup and configuration of the module, or if a different route could be used by default instead

@GuySartorelli
Copy link
Member

In the discussion about this on slack there was a suggestion that we should be able to just set routes to null to cancel out that rule, which would resolve this issue. That sounds sensible to me - but will need to be done in a new minor release for CMS 5 so it won't help anyone who needs this for CMS 4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants