From e1ce11dad0bb6377ffddaa5fb0b7174e406ba20c Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 6 Mar 2010 06:31:24 +0000 Subject: - Patch #732486 by Damien Tournoud, JacobSingh: drupal_add_http_header() req ; make Status a normal header and drupal_add_http() header shouldn't return a list of headers. --- update.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'update.php') diff --git a/update.php b/update.php index 5c01ea92e..af43c7565 100644 --- a/update.php +++ b/update.php @@ -237,7 +237,7 @@ function update_info_page() { } function update_access_denied_page() { - drupal_add_http_header('403 Forbidden'); + drupal_add_http_header('Status', '403 Forbidden'); watchdog('access denied', 'update.php', NULL, WATCHDOG_WARNING); drupal_set_title('Access denied'); return '

Access denied. You are not authorized to access this page. Log in using either an account with the administer software updates permission or the site maintenance account (the account you created during installation). If you cannot log in, you will have to edit settings.php to bypass this access check. To do this:

-- cgit v1.2.3