• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Certain posts give forbidden errors

mjp

Well-known member
#1
Here's one for you. One of my users found it.

This error:

The following error occurred:
Forbidden
You don't have permission to access /forums/notes.25/save-draft on this server.​

happens if a post contains the phrase "porn movies." But I see it doesn't error out here.

Thing is, I have no word censorship defined, so I don't get it...

(I can't even post a link to this thread in my forum without getting the error.)
 

Jeremy

Well-known member
#3
This is soudning like a server configuration since it appears you are receiving a 403 Forbidden Error. I would contact your host to see if you have any on your account.
 

mjp

Well-known member
#5
The server config is blocking a database insert of a specific phrase? Sounds ridiculous, but I suppose anything is possible these days.

Thanks.

I'm moving the forum to Digital Ocean anyway, so I'm not inclined to suffer any back and forth with the current host to get to the bottom of it.
 

Mike

XenForo developer
Staff member
#6
The server config is actually blocking the request before it even reaches XenForo (or PHP in general).
 

Jake Bunce

XenForo moderator
Staff member
#7
Incidentally, I have found it to be fairly common that offending server rules like this specifically flag the referrer or request URI (which contains the offending words as part of the thread title) in JSON requests. For example, if you can't edit a post due to this error then you might find that it works when you use the full edit form (as opposed to quick edit which is JSON).

But yeah... server problem.