diff --git a/include/filter.php b/include/filter.php index 14e3ae3..37edf6e 100644 --- a/include/filter.php +++ b/include/filter.php @@ -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