Skip to content

Only allow GET HEAD OPTIONS #751

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

MuxZeroNet
Copy link
Contributor

Only allow GET HEAD OPTIONS to load wrapper and site media

Only allow GET HEAD OPTIONS to load wrapper and site media
@HelloZeroNet
Copy link
Owner

I think a if self.env['REQUEST_METHOD'] != 'GET': restriction will be enough for the actionWrapper (we catch OPTIONS earlier and POST to non-wrapper files are ok.

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