There must be something in your post that doesn’t please the firewall, but it’s odd you’re still blocked while being whitelisted.
Can you check the firewall log, it will be written why you were blocked. If there’s nothing is the log, it could be due to a “Firewall Policies > Advanced Policies > HTTP response headers” option (whitelist doesn’t apply to them). In that case, open your browser’s console (press F12), and check if you see any warning/error in its console while you submit the post.
Thread Starter
wpgerd
(@wpgerd)
Hi nintechnet,
thanks for you quick response. In the log I found:
02/May/20 16:22:25 #4253601 CRITICAL 115 xxx.xx.xx.xx POST /wp-admin/admin-ajax.php – Cross-site scripting – [POST:actions = {“save_builder”:{“action”:”save_builder”,”data”:{“status”:”publish”,”elements”:[{“id”:”9cb9839″,”elType”:”section”,”isInner”:false,”settings”:{“layout”:”full_width”,”jet_parallax_layout…] – domain.dev
xxx is my IP. All settings of HTTP response headers are set to No. Setings of PHP there are all Yes an Varios are also to Yes.
The problem occurs on the staging site. I set “Users Whitelist” to “Add all logged in users to the whitelist, also on the live-site and it looks like, there it runs. The only differenc I could identify is, that on staging Ninja is running in normal Mode, on Live it’s running in Full WAV Mode.
Any suggestions from your side?
thanks
Gerd
-
This reply was modified 6 years, 1 month ago by
wpgerd.
Maybe you’re having an issue with PHP session on the staging site and it isn’t working? In the “NinjaFirewall > Dashboard” page, do you see any warning about session and whitelisted user? If there’s one, you can try to debug: https://blog.nintechnet.com/ninjafirewall-php-sessions-debugging/
Just FYI, related to this same issue …
We have Ninja Firewall deactivated because it was causing PHP errors. Even with it deactivated, we had a similar problem yesterday to the problem described in this thread.
What kind of PHP errors? Can you paste them here?