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

Better regexp for FilesMatch emulation #3

Closed
wants to merge 2 commits into from

Conversation

teefax
Copy link

@teefax teefax commented Mar 25, 2011

Hello,

the regexp you are using in drupal.conf to replicate the FilesMatch directive in the drupal .htaccess disallowes requests to any urls ending in e.g. /tag.

The attached commit changes the regexp to only disallow access to ^/Tag$ as the FilesMatch directive does.

@perusio
Copy link
Owner

perusio commented Mar 30, 2011

Oops. I missed the pull request, and ended up by adding the stuff directly. :( Any way your patches are now commited. I also added a '?:' to the first group since we're not capturing anything.

Thanks

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