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

Default Filter rules on AEM Cloud opens way too much #1247

Open
nhirrle opened this issue Oct 30, 2024 · 0 comments
Open

Default Filter rules on AEM Cloud opens way too much #1247

nhirrle opened this issue Oct 30, 2024 · 0 comments

Comments

@nhirrle
Copy link

nhirrle commented Oct 30, 2024

/0011 { /type "allow" /method "GET" /extension '(css|eot|gif|ico|jpeg|jpg|js|gif|png|svg|swf|ttf|woff|woff2)' }

A servlet may be open on publish and should not.

Example: /bin/some-servlet.json.servlet.json/something.js may respond if /bin wasn't blocked afterwards.

Possible solution:

/0011 { /type "allow" /method "GET" /extension '(css|eot|gif|ico|jpeg|jpg|js|gif|png|svg|swf|ttf|woff|woff2)' /suffix "" /method '(GET|HEAD)' }

block at least suffixes.

Please doublecheck why this rule is even required, it is NOT present in AMS

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

No branches or pull requests

1 participant