1 system_test.module system_test_redirect_invalid_scheme()

File

core/modules/simpletest/tests/system_test.module, line 268
Test module for system functions.

Code

function system_test_redirect_invalid_scheme() {
  header("Location: ftp://localhost/path", TRUE, 301);
  exit;
}