diff --git a/analytics/logger/dojoxAnalytics.php b/analytics/logger/dojoxAnalytics.php index e472498919..0a41ef8f25 100644 --- a/analytics/logger/dojoxAnalytics.php +++ b/analytics/logger/dojoxAnalytics.php @@ -21,7 +21,7 @@ fclose($handle); - $response = '{"eventsReceived": "' . sizeof($items) . '", "id": "' . $id . '"}'; + $response = '{"eventsReceived": "' . sizeof($items) . '", "id": "' . htmlentities($id) . '"}'; if ($_REQUEST["callback"]){ print htmlentities($_REQUEST["callback"]) . "(" . $response . ");"; }else{