diff options
author | Steven Wittens <steven@10.no-reply.drupal.org> | 2007-07-26 21:42:52 +0000 |
---|---|---|
committer | Steven Wittens <steven@10.no-reply.drupal.org> | 2007-07-26 21:42:52 +0000 |
commit | 0676d8410fda9b67d7c250e63011d45fcc0ae1b2 (patch) | |
tree | 854e26bcc05da00640fc17e0eb2e7aba2bbe2d82 /includes | |
parent | e473168106effa75c4080c6b0216c5c9befe42d3 (diff) | |
download | brdo-0676d8410fda9b67d7c250e63011d45fcc0ae1b2.tar.gz brdo-0676d8410fda9b67d7c250e63011d45fcc0ae1b2.tar.bz2 |
Re-add check_plain() in appropriate places after removing it from ip_address().
Diffstat (limited to 'includes')
-rw-r--r-- | includes/bootstrap.inc | 2 |
1 files changed, 1 insertions, 1 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; |