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

Fix greedy Install url detection #17241

Merged
merged 1 commit into from
Oct 10, 2024
Merged

Conversation

Migaroez
Copy link
Contributor

Prerequisites

  • I have added steps to test this contribution in the description below

Fixes #17017

Description

The logic that determines whether a request path is part of the installer will no longer greedily return true when the first segment of the url starts with the installer path (install), ie: installation

Testing

As described in the original issue, setup a standard site with everything under 1 "site" node, protect one of the pages directly under the site node with a standard member setup and make sure the name of the page's name starts with install.

Unit tests have been added to cover the buggy case and some other possible issues.

Considerations

This bug is most likely also present in all other active majors.

@bergmania bergmania merged commit 7787af2 into v13/dev Oct 10, 2024
13 of 16 checks passed
@bergmania bergmania deleted the v13/fix/install-url-detection branch October 10, 2024 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants