From 0676d8410fda9b67d7c250e63011d45fcc0ae1b2 Mon Sep 17 00:00:00 2001 From: Steven Wittens Date: Thu, 26 Jul 2007 21:42:52 +0000 Subject: Re-add check_plain() in appropriate places after removing it from ip_address(). --- includes/bootstrap.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes') diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc index 404da154b..c57929982 100644 --- a/includes/bootstrap.inc +++ b/includes/bootstrap.inc @@ -891,7 +891,7 @@ function _drupal_bootstrap($phase) { // Deny access to hosts which were banned - t() is not yet available. if (drupal_is_denied('host', ip_address())) { header('HTTP/1.1 403 Forbidden'); - print 'Sorry, '. ip_address() .' has been banned.'; + print 'Sorry, '. check_plain(ip_address()) .' has been banned.'; exit(); } break; -- cgit v1.2.3