Page 1 of 1

referer suppression

Posted: Sun Feb 06, 2005 8:02 am
by eckes
Hello,

it looks like 0.7.1 (possibly others) is doing "refferer suppression" the wrong way. The first seen refferer is sturred in suppression queue and all others are processed and supressionq is updated:

I think this is the code which does whats desired:

...

Code: Select all

        
...
        $count = serendipity_db_query($suppressq, true);

        if ($count[0] > 0) {
            serendipity_db_query($suppressp);
            serendipity_db_query($suppressu);
            return;
        }

        serendipity_db_query($suppressu);

        serendipity_track_url('referrers', $_SERVER['HTTP_REFERER'], $entry);
--
blog.eckes.org

Re: referer suppression

Posted: Sun Feb 06, 2005 1:49 pm
by garvinhicking
Thanks for reporting. If possible, please report bugs in our SF.Net bug-tracker. I copied yours there.

Regards,
Garvin