Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Intermittent 403 errors
![Sim](https://secure.gravatar.com/avatar/32e74886ed3d8b4b8da34444d60642a5/?default=https%3A%2F%2Fvanillicon.com%2F367c6b17fe7ac3231a4b54e9e003da6b_100.png&rating=g&size=100)
Some users are sometimes getting 403 when trying to post or during auto save of draft posts. I'm not running any unusual plugins and haven't changed any code. I'm at a loss for the fault, and it has happened on previous versions.
0
Best Answer
-
x00 MVP
That sounds more like a server misconfiguration. Unless the ajax is getting scrambled.
What browser are you using? Most have an inspect/developer tools. You need to look at network, persist/record and look at XHR/Ajax request of
/post/comment
/post/discussion
to see what the POST parameter sare and what the response is.As always try disabling plugin to see if any are causing issues.
If you can rule out the framework or plugin it is a server issue.
grep is your friend.
5
Answers
Hmm it seems to work if you only post 1 sentence, paragraphs cause the 403. Suggestions?
That sounds more like a server misconfiguration. Unless the ajax is getting scrambled.
What browser are you using? Most have an inspect/developer tools. You need to look at network, persist/record and look at XHR/Ajax request of
/post/comment
/post/discussion
to see what the POST parameter sare and what the response is.As always try disabling plugin to see if any are causing issues.
If you can rule out the framework or plugin it is a server issue.
grep is your friend.
Thanks, here is an attempt to edit a post.
POST http://scarboroughgames.com/forum/vanilla/post/editdiscussion/938 403 (Forbidden)jquery.min.js:4 f.support.ajax.f.ajaxTransport.sendjquery.min.js:4 f.extend.ajaxpost.js?v=2.1.9:96 (anonymous function)jquery.min.js:3 f.event.dispatchjquery.min.js:3 f.event.add.h.handle.i
I've ruled out plugins, could something have the wrong permissions?
I posted here
http://scarboroughgames.com/forum/discussion/939/test
I don't think it is permission issue becuase you wouldn't be able to post at all.
I wonder if it is specific content. Vanilla 401s not 403s so this seem more lower down on the server and text like "Forbidden" is a server default.
I don’t have permission to view that discussion however.
I wonder if certain keywords are triggering a security layer.
What is the content you are trying to post?
grep is your friend.
I have tried removing the URLs, and slimming the content. The first 2 sentences pass.
I tried this and it works up to but not including the word 150.
I'm getting
This implies it is server security, not vanilla.
this also triggers the issue
40, 60, 90 and 120
and90 and 150
andand 150
andand 1
it appears to be an anti-spam measure false positive.grep is your friend.
It can also be a crudly though out SQL injection protection.
grep is your friend.