From 983eda44acf810eb98ffdd247464abbec2b4d9d1 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 21 Dec 2006 22:20:19 +0000 Subject: - Patch #104693 by ChrisKennedy: send proper HTTP headers: HTTP/1.0 -> HTTP/1.1. --- includes/bootstrap.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/bootstrap.inc') diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc index 141f23bd2..9cb9eb73c 100644 --- a/includes/bootstrap.inc +++ b/includes/bootstrap.inc @@ -800,7 +800,7 @@ function _drupal_bootstrap($phase) { case DRUPAL_BOOTSTRAP_ACCESS: // Deny access to hosts which were banned - t() is not yet available. if (drupal_is_denied('host', $_SERVER['REMOTE_ADDR'])) { - header('HTTP/1.0 403 Forbidden'); + header('HTTP/1.1 403 Forbidden'); print 'Sorry, '. $_SERVER['REMOTE_ADDR']. ' has been banned.'; exit(); } -- cgit v1.2.3