500 error when posting

Get help with installation and running phpBB 3.3.x here. Please do not post bug reports, feature requests, or extension related questions here.
Post Reply
TheoSqua
Registered User
Posts: 4
Joined: Wed Feb 12, 2020 3:46 pm

500 error when posting

Post by TheoSqua »

One of the posters on my forum let me know one of his posts was throwing a 500 when he tried to submit. I had him email me what he was trying to submit and narrowed it down to a line of text that started with a ', had three dashes ---, and ended with a '. So basically this:

'---'

Posting that to the forum will throw a 500.

I tried it on this forum and a test forum I have on a different host and it doesn't happen.

Any ideas what might be causing it? I'm not sure if it's a bad interaction with the php code, something to do with SQL (I know '-- is sql code, but not why a third dash could potentially matter), or something specific to the server that's hosting it.

The 500 error is the phpbb specific one and not something from the server.

I'm mostly worried this might be something someone could use to exploit the site.

User avatar
Lumpy Burgertushie
Registered User
Posts: 67236
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: 500 error when posting

Post by Lumpy Burgertushie »

contact your host and show them the line and tell them what is happening.

ask them to check their mod_security settings. it is apparently set to strict and that is causing this issue.

luck,
robert
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.3 Styles by PlanetStyles.net

If nobody is in the forest, does a tree really fall?

Post Reply

Return to “[3.3.x] Support Forum”