From 09b660a6085b972196ba68ce0f9dd8bce9516ca9 Mon Sep 17 00:00:00 2001
From: Dries Buytaert <dries@buytaert.net>
Date: Thu, 18 Dec 2003 08:18:06 +0000
Subject: [PATCH] - Small update

---
 includes/common.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/includes/common.inc b/includes/common.inc
index 4376fa6854dd..497e82f790f1 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', ''));
 
-- 
GitLab