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
Can't access to page ending with rc
when using generated .htaccess
#652
Comments
was added here TYPO3/typo3@edd2a1c |
Yes, the |
I created core patch https://forge.typo3.org/issues/87783 to deal with this. If this has been decided and a merge has happened, we may afterwards put that into BP_8-0 branch of bootstrap package to Configuration/Apache/.htaccess. Other BP branches are not affected since bootstrap package branch v8 only creates that file on its own, in v9 and v10 this is done by core. |
thx @lolli42 applied the patch also here and voted the one on core, will backport them later to the branches. |
Bug Report
Prerequisites
Description
Any slug ending with
rc
cause 403 when .htaccess was generated by bootstrap_packageSteps to Reproduce
randomrc
or just rename the slug of an existing page to make it end withrc
Expected behavior: Page display
Actual behavior: Error 403
Problem comes from lines https://github.com/benjaminkott/bootstrap_package/blob/master/Configuration/Server/_.htaccess#L315 and https://github.com/benjaminkott/bootstrap_package/blob/master/Configuration/Server/_.htaccess#L323, maybe should end with
(?:~|\.rc))$#">
instead of(?:~|rc))$#">
(Thanks to Mathias Brodala for pointing me the cause!)
The text was updated successfully, but these errors were encountered: