XF 2.2 403 Forbidden when ^\s+type in [CODE]

Slion

Active member
Somehow having type in CODE prevents me from editing/saving a post saying "You don't have permission to access this resource".
Possibly only triggers because of my forum permissions setup as I could not reproduce it here.
What you need it just put any amount of spaces followed by type in a CODE bb. Try it on a forum with some access restriction maybe.

Code:
 type

Affected version is actually 2.2.4
 
Last edited:
Sure enough DreamHost fixed it for me:

I took a look in the domains error logs and I found the same instances of
our Mod Security firewall getting incorrectly triggered by the changes
you're making to your site. I added a bypass to the specific rule being
triggered, so that should hopefully resolve the errors you have been
seeing. Please test that again and if you see the same issue, please let
us know, as we may need to tweak the rule bypass.

Thanks guys for the tips!
 
Back
Top Bottom