function BootstrapDestinationTestCase::getInfo
File
-
modules/
simpletest/ tests/ bootstrap.test, line 831
Class
- BootstrapDestinationTestCase
- Tests for $_GET['destination'] and $_REQUEST['destination'] validation.
Code
public static function getInfo() {
return array(
'name' => 'URL destination validation',
'description' => 'Test that $_GET[\'destination\'] and $_REQUEST[\'destination\'] cannot contain external URLs.',
'group' => 'Bootstrap',
);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.