You are here

function CoderSecurityTest::testSecurityFormTag in Coder 6.2

File

tests/coder_security.test, line 239

Class

CoderSecurityTest

Code

function testSecurityFormTag() {
  $this
    ->assertCoderFail('  ?' . '><FORM action="foo.php"><?php');
  $this
    ->assertCoderFail('  ?' . '><form action="foo.php"><?php');
  $this
    ->assertCoderFail('  $form = \'<form action="foo.php">\'');
}