diff --git a/includes/common.inc b/includes/common.inc index 4376fa6854d..497e82f790f 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -105,7 +105,7 @@ function drupal_rebuild_path_map() { function drupal_not_found() { header("HTTP/1.0 404 Not Found"); - watchdog("httpd", "404 error: ". $_GET['q'] ." not found"); + watchdog("httpd", "404 error: '". check_query($_GET["q"]) ."' not found"); $path = drupal_get_normal_path(variable_get('site_404', ''));