truncate to 255
This commit is contained in:
parent
0745f14942
commit
63244381f8
@ -3,6 +3,9 @@
|
||||
Version 1.6 ()
|
||||
------------------------------------------------------------------------
|
||||
|
||||
* Truncate suppressed referrer's query string to 255 characters
|
||||
(ads)
|
||||
|
||||
* Fix "viewAuthor" URL detection routine if the path name of a
|
||||
domain begins with a number. (garvinhicking)
|
||||
|
||||
|
@ -739,6 +739,8 @@ function serendipity_track_referrer($entry = 0) {
|
||||
|
||||
$ts = serendipity_db_get_interval('ts');
|
||||
$interval = serendipity_db_get_interval('interval', 900);
|
||||
|
||||
$url_parts['query'] = substr($url_parts['query'], 0, 255);
|
||||
|
||||
$suppressq = "SELECT count(1)
|
||||
FROM $serendipity[dbPrefix]suppress
|
||||
|
Loading…
x
Reference in New Issue
Block a user