diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-05-20 08:51:24 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-05-20 08:51:24 +0000 |
commit | 34792fa8aec511d43a529f89383a013108c26bea (patch) | |
tree | b4bcbcb4563d9233a23e73873f667c2418827cab /modules/simpletest/tests | |
parent | 8c60927ba909833d2c07eed008470a6905c50cd6 (diff) | |
download | brdo-34792fa8aec511d43a529f89383a013108c26bea.tar.gz brdo-34792fa8aec511d43a529f89383a013108c26bea.tar.bz2 |
- Patch #303838 by c960657, Aron Novak: drupal_http_request() - case sensitive HTTP header field names.
Diffstat (limited to 'modules/simpletest/tests')
-rw-r--r-- | modules/simpletest/tests/system_test.module | 3 |
1 files changed, 2 insertions, 1 deletions
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 ''; |