Filter should ignore google search variables
This commit is contained in:
@@ -37,7 +37,10 @@ function filter_gpc()
|
||||
// against a value, otherwise if strpos() returns false indicating that
|
||||
// the value wasn't found strpos(something) == 0 will still be true
|
||||
if((strpos($aKeys[$i], "Dialog") === 0) ||
|
||||
(strpos($aKeys[$i], "XinhaColorPicker") === 0)) // Xinha variables
|
||||
(strpos($aKeys[$i], "XinhaColorPicker") === 0) || // Xinha variables
|
||||
($aKeys[$i] == "cx") || // google custom search variable
|
||||
($aKeys[$i] == "cof")) // google custom search variable
|
||||
|
||||
{
|
||||
// copy the key over to the clean array
|
||||
// NOTE: we do not strip html tags or trim any Xinha variables
|
||||
|
||||
Reference in New Issue
Block a user