2013-08-07, 08:55 PM
Hi,
The bug in thread prefixes is being abused in many forums as it becomes commonly known. I'm talking here about the fact that the prefix validation doesn't really check at all..
I've tried something myself but I can't get the validation working at all, even when the return is set to FALSE, it keeps passing the validation.
Does anyone has a working fix to get the thread prefixes validated upon post?
AFAIK it has been noted in the bug section several times (oldest one dates from 4 months back), and it's not really fixed yet. I wonder if someone actually tried making a fix for it
Thanks in advance,
Tankey
The bug in thread prefixes is being abused in many forums as it becomes commonly known. I'm talking here about the fact that the prefix validation doesn't really check at all..
function verify_prefix()
{
$prefix = &$this->data['prefix'];
// If a valid prefix isn't supplied, don't assign one.
if(!$prefix || $prefix < 1)
{
$prefix = 0;
}
return true;
}
So basically, everyone can put a prefix in every part of the forum, which is pretty annoying in some cases.I've tried something myself but I can't get the validation working at all, even when the return is set to FALSE, it keeps passing the validation.
Does anyone has a working fix to get the thread prefixes validated upon post?
AFAIK it has been noted in the bug section several times (oldest one dates from 4 months back), and it's not really fixed yet. I wonder if someone actually tried making a fix for it
Thanks in advance,
Tankey