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 htaccess redirect for URL's which contain "bin/" #3539

Open
jeroendesloovere opened this issue Dec 8, 2022 · 1 comment
Open

Fix htaccess redirect for URL's which contain "bin/" #3539

jeroendesloovere opened this issue Dec 8, 2022 · 1 comment
Labels

Comments

@jeroendesloovere
Copy link
Member

Bug Report

Q A
Critical Bug no
Version 5.x.x

Problem description

URL's containing "bin/" somewhere in between are going to throw 403 forbidden error

Steps to reproduce

But we don't want https:://mysite.docker/my-page-bin/test to throw 403 forbidden

Expected behavior / Proposed solution

The fix is to change

RewriteRule bin/.* - [F]

to

RewriteRule ^bin/.* - [F]

Fix can be tested on https://htaccess.madewithlove.com/

@carakas
Copy link
Member

carakas commented Nov 24, 2023

@jeroendesloovere since the fix is so small, can you create the PR for it?

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

No branches or pull requests

2 participants