diff options
-rw-r--r-- | includes/bootstrap.inc | 2 | ||||
-rw-r--r-- | modules/dblog/dblog.admin.inc | 2 |
2 files changed, 2 insertions, 2 deletions
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; diff --git a/modules/dblog/dblog.admin.inc b/modules/dblog/dblog.admin.inc index f2389e6e1..2a763f8bf 100644 --- a/modules/dblog/dblog.admin.inc +++ b/modules/dblog/dblog.admin.inc @@ -154,7 +154,7 @@ function dblog_event($id) { ), array( array('data' => t('Hostname'), 'header' => TRUE), - $dblog->hostname, + check_plain($dblog->hostname), ), array( array('data' => t('Operations'), 'header' => TRUE), |