‪TYPO3CMS  10.4
TYPO3\CMS\Core\Tests\Functional\DataHandling\DataHandler\SecurityTest Class Reference
Inheritance diagram for TYPO3\CMS\Core\Tests\Functional\DataHandling\DataHandler\SecurityTest:

Public Member Functions

 crossSiteScriptingDataProvider ()
 
 markupIsSanitizedForContentBodytextWithHtmlSanitizerEnabled (string $input, array $expectations)
 
 markupIsSanitizedForContentBodytextWithHtmlSanitizerDisabled (string $input, array $expectations)
 

Protected Member Functions

 setUp ()
 

Protected Attributes

string[] $coreExtensionsToLoad = array( 'rte_ckeditor' )
 

Private Attributes

BackendUserAuthentication $backendUser
 
ActionService $actionService
 

Detailed Description

Tests related to security aspects in DataHandler

Definition at line 32 of file SecurityTest.php.

Member Function Documentation

◆ crossSiteScriptingDataProvider()

TYPO3\CMS\Core\Tests\Functional\DataHandling\DataHandler\SecurityTest::crossSiteScriptingDataProvider ( )

Definition at line 59 of file SecurityTest.php.

◆ markupIsSanitizedForContentBodytextWithHtmlSanitizerDisabled()

TYPO3\CMS\Core\Tests\Functional\DataHandling\DataHandler\SecurityTest::markupIsSanitizedForContentBodytextWithHtmlSanitizerDisabled ( string  $input,
array  $expectations 
)

This test does not define any additional configuration, scope is to test the factory-default configuration of TYPO3 when editing content via backend user interface.

Parameters
string$input
array$expectations
Test:
‪@dataProvider crossSiteScriptingDataProvider

Definition at line 273 of file SecurityTest.php.

References $GLOBALS.

◆ markupIsSanitizedForContentBodytextWithHtmlSanitizerEnabled()

TYPO3\CMS\Core\Tests\Functional\DataHandling\DataHandler\SecurityTest::markupIsSanitizedForContentBodytextWithHtmlSanitizerEnabled ( string  $input,
array  $expectations 
)

This test does not define any additional configuration, scope is to test the factory-default configuration of TYPO3 when editing content via backend user interface.

Parameters
string$input
array$expectations
Test:
‪@dataProvider crossSiteScriptingDataProvider

Definition at line 243 of file SecurityTest.php.

References $GLOBALS.

◆ setUp()

TYPO3\CMS\Core\Tests\Functional\DataHandling\DataHandler\SecurityTest::setUp ( )
protected

Member Data Documentation

◆ $actionService

ActionService TYPO3\CMS\Core\Tests\Functional\DataHandling\DataHandler\SecurityTest::$actionService
private

Definition at line 40 of file SecurityTest.php.

◆ $backendUser

BackendUserAuthentication TYPO3\CMS\Core\Tests\Functional\DataHandling\DataHandler\SecurityTest::$backendUser
private

Definition at line 36 of file SecurityTest.php.

◆ $coreExtensionsToLoad

string [] TYPO3\CMS\Core\Tests\Functional\DataHandling\DataHandler\SecurityTest::$coreExtensionsToLoad = array( 'rte_ckeditor' )
protected

Definition at line 44 of file SecurityTest.php.