summaryrefslogtreecommitdiff
path: root/includes/bootstrap.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2006-12-21 22:20:19 +0000
committerDries Buytaert <dries@buytaert.net>2006-12-21 22:20:19 +0000
commit983eda44acf810eb98ffdd247464abbec2b4d9d1 (patch)
treef4562550d4d986e1926a76a594ddd56ebd49851f /includes/bootstrap.inc
parentd5fb9a23989169890431acc1cfd0cfe5952882c8 (diff)
downloadbrdo-983eda44acf810eb98ffdd247464abbec2b4d9d1.tar.gz
brdo-983eda44acf810eb98ffdd247464abbec2b4d9d1.tar.bz2
- Patch #104693 by ChrisKennedy: send proper HTTP headers: HTTP/1.0 -> HTTP/1.1.
Diffstat (limited to 'includes/bootstrap.inc')
-rw-r--r--includes/bootstrap.inc2
1 files changed, 1 insertions, 1 deletions
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();
}