Simple Machines Community Forum

Archived Boards and Threads... => Archived Boards => SMF Feedback and Discussion => Topic started by: 4dd1ct on January 20, 2005, 01:50:04 PM

Title: Strange bug: 404 when posting certain word combinations
Post by: 4dd1ct on January 20, 2005, 01:50:04 PM
I'm using the latest version of SMF with mod_rewrite on to make the urls more friendly.

If people post certain word combinations, they're taken to a 404 and the post isn't made.

So far people on my forum have come up with the following words that will cause a 404:

"jheri curl" followed by any other word on the same line
"echo" followed by any other word

Any ideas what might be happening here? I thought with the echo one it might be a security thing but "jheri curl" ? Does SMF have something against 80s hair styles? ;)
Title: Re: Strange bug: 404 when posting certain word combinations
Post by: Oldiesmann on January 20, 2005, 02:25:02 PM
"Curl" is a PHP library - http://www.php.net/curl

That mod_rewrite thing might be what's killing it. What browser are you using when this happens?
Title: Re: Strange bug: 404 when posting certain word combinations
Post by: 4dd1ct on January 20, 2005, 02:32:40 PM
Ah indeed it is curl rather than jheri curl ;)

It's cross browser - I use firefox but most people on the site in question use IE.

I thought the rewriting worth mentioning as I initially thought it might be what was causing the error, however I turned it off and this still happens, so I guess it is a general forum thing.

An example URL after posting one of the words which leads to a 404:

board/index.php?action=post2;start=0;board=16

Looks pretty standard to me, so I guess it is some kind of security setting.
Title: Re: Strange bug: 404 when posting certain word combinations
Post by: Ben_S on January 20, 2005, 02:36:38 PM
Looks like some dodgy mod_security (or similar) rules, suggest you ask your host to disable it as they are effectively preventing you running a forum with it.
Title: Re: Strange bug: 404 when posting certain word combinations
Post by: jdougher on March 01, 2006, 09:05:18 PM
Which version has mod_rewrite bilt in?

Quote from: 4dd1ct on January 20, 2005, 01:50:04 PM
I'm using the latest version of SMF with mod_rewrite on to make the urls more friendly.

If people post certain word combinations, they're taken to a 404 and the post isn't made.

So far people on my forum have come up with the following words that will cause a 404:

"jheri curl" followed by any other word on the same line
"echo" followed by any other word

Any ideas what might be happening here? I thought with the echo one it might be a security thing but "jheri curl" ? Does SMF have something against 80s hair styles? ;)