Skip to content

Fix greedy Install url detection#17241

Merged
bergmania merged 1 commit intov13/devfrom
v13/fix/install-url-detection
Oct 10, 2024
Merged

Fix greedy Install url detection#17241
bergmania merged 1 commit intov13/devfrom
v13/fix/install-url-detection

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.

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