403 Errors in post submission due to HTML
-
Hi there,
On our site we have a form with a field that allows basic HTML to be entered. On a few occasions the WordFence firewall has block users for SQL injection in the POST body.
Here is an image showing the message from the WordFence firewall:
https://drive.google.com/file/d/188ayFqA6CNMgWdOVV4yqWQe23zFxHtPw/view?usp=sharingWe know that these submissions are safe as the users are logged with verified accounts. I believe that we can prevent this error from occurring by whitelisting the url, however couldn’t find any good documentation regarding this on the WordFence site but did find this article:
https://www.ownerreservations.com/support/articles/403-error-whitelisting-wordfenceSo I have added the following entry to the whitelist:
URL: /submit/
Param: request.body[post_content]I am not 100% sure that this is correct, so can you please let me know if this will work or needs to be adjusted?
Also, can you please let me know where I can find documentation regarding this on the WordFence website.
- The topic ‘403 Errors in post submission due to HTML’ is closed to new replies.