From 34792fa8aec511d43a529f89383a013108c26bea Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 20 May 2010 08:51:24 +0000 Subject: - Patch #303838 by c960657, Aron Novak: drupal_http_request() - case sensitive HTTP header field names. --- modules/simpletest/tests/system_test.module | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/simpletest/tests') diff --git a/modules/simpletest/tests/system_test.module b/modules/simpletest/tests/system_test.module index 1f1e535c6..5fa2fdc85 100644 --- a/modules/simpletest/tests/system_test.module +++ b/modules/simpletest/tests/system_test.module @@ -110,7 +110,8 @@ function system_test_basic_auth_page() { function system_test_redirect($code) { $code = (int) $code; if ($code != 200) { - header("Location: " . url('system-test/redirect/200', array('absolute' => TRUE)), TRUE, $code); + // Header names are case-insensitive. + header("locaTION: " . url('system-test/redirect/200', array('absolute' => TRUE)), TRUE, $code); exit; } return ''; -- cgit v1.2.3