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

Fail to save custom filtering rule #581

Closed
tuapuikia opened this issue Feb 11, 2019 · 3 comments
Closed

Fail to save custom filtering rule #581

tuapuikia opened this issue Feb 11, 2019 · 3 comments

Comments

@tuapuikia
Copy link

Steps to reproduce

  1. Run the docker image.
  2. Go to adguard home filtering rules and add new regex
  3. Error appear and failed to save (TypeError: Cannot read property 'data' of undefined)

Expected behavior

Custom rule should be able to save.

Actual behavior

Error shown and rules are not updated.

Screenshot:

Your environment

Description Value
Version of AdGuard Home server: v0.92-hotfix2-35-g5fed
How did you setup DNS configuration: System with docker
If it's a router or IoT, please write device model: (e.g. Raspberry Pi 3 Model B)
Operating system and version: (e.g. Ubuntu 18.04.1)
@tuapuikia
Copy link
Author

Found the issue. My nginx drop PUT method by default. Enable PUT have solved the problem.

@ameshkov
Copy link
Member

@tuapuikia is it a default nginx configuration? Does it also disable DELETE method?

We might consider switching everything to POST if so

@tuapuikia
Copy link
Author

Nginx default allow PUT and DELETE. It just my nginx hardening script disable those method by default.

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

2 participants