‪TYPO3CMS  9.5
TYPO3\CMS\FluidStyledContent\Tests\Functional\Rendering\SecureHtmlRenderingTest Class Reference
Inheritance diagram for TYPO3\CMS\FluidStyledContent\Tests\Functional\Rendering\SecureHtmlRenderingTest:
TYPO3\CMS\Core\Tests\Functional\SiteHandling\SiteBasedTestTrait

Public Member Functions

 defaultParseFuncRteAvoidsCrossSiteScriptingDataProvider ()
 
 defaultParseFuncRteAvoidCrossSiteScripting (string $payload, string $expectation)
 
 customParseFuncAvoidsCrossSiteScriptingDataProvider ()
 
 customParseFuncAvoidCrossSiteScripting (string $payload, string $expectation)
 
 htmlViewHelperAvoidsCrossSiteScripting (string $type, string $payload, string $expectation)
 

Static Public Member Functions

static setUpBeforeClass ()
 
static tearDownAfterClass ()
 
static htmlViewHelperAvoidsCrossSiteScriptingDataProvider ()
 

Protected Member Functions

 setUp ()
 
 setUpDatabase ()
 
 tearDown ()
 
- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Core\Tests\Functional\SiteHandling\SiteBasedTestTrait
 writeSiteConfiguration (string $identifier, array $site=[], array $languages=[], array $errorHandling=[])
 
 mergeSiteConfiguration (string $identifier, array $overrides)
 
array buildSiteConfiguration (int $rootPageId, string $base='')
 
array buildDefaultLanguageConfiguration (string $identifier, string $base)
 
array buildLanguageConfiguration (string $identifier, string $base, array $fallbackIdentifiers=[], string $fallbackType=null)
 
array buildErrorHandlingConfiguration (string $handler, array $codes)
 
mixed resolveLanguagePreset (string $identifier)
 
InternalRequest applyInstructions (InternalRequest $request, AbstractInstruction ... $instructions)
 
AbstractInstruction mergeInstruction (AbstractInstruction $current, AbstractInstruction $other)
 

Protected Attributes

string[] $coreExtensionsToLoad = array( 'fluid_styled_content' )
 
string[] $pathsToLinkInTestInstance
 

Private Member Functions

InternalResponse invokeFrontendRendering (AbstractInstruction ... $instructions)
 
 createDefaultInstruction ()
 
 createTextContentObjectWithDefaultParseFuncRteInstruction (string $value)
 
 createTextContentObjectWithCustomParseFuncInstruction (string $value)
 
 createDisableHtmlSanitizeInstruction ()
 
 createFluidTemplateContentObject (string $type, string $payload)
 

Private Attributes

const TYPE_PLAIN = 'plain'
 
const TYPE_EMPTY_PARSEFUNCTSPATH = 'empty-parseFuncTSPath'
 
const TYPE_DISABLE_HTML_SANITIZE = 'disable-htmlSanitize'
 
const ENCRYPTION_KEY = '4408d27a916d51e624b69af3554f516dbab61037a9f7b9fd6f81b4d3bedeccb6'
 
const TYPO3_CONF_VARS
 
const LANGUAGE_PRESETS
 
InternalRequestContext $internalRequestContext
 

Additional Inherited Members

- ‪Static Protected Member Functions inherited from ‪TYPO3\CMS\Core\Tests\Functional\SiteHandling\SiteBasedTestTrait
static failIfArrayIsNotEmpty (array $items)
 

Detailed Description

Definition at line 30 of file SecureHtmlRenderingTest.php.

Member Function Documentation

◆ createDefaultInstruction()

TYPO3\CMS\FluidStyledContent\Tests\Functional\Rendering\SecureHtmlRenderingTest::createDefaultInstruction ( )
private

◆ createDisableHtmlSanitizeInstruction()

TYPO3\CMS\FluidStyledContent\Tests\Functional\Rendering\SecureHtmlRenderingTest::createDisableHtmlSanitizeInstruction ( )
private

◆ createFluidTemplateContentObject()

TYPO3\CMS\FluidStyledContent\Tests\Functional\Rendering\SecureHtmlRenderingTest::createFluidTemplateContentObject ( string  $type,
string  $payload 
)
private

◆ createTextContentObjectWithCustomParseFuncInstruction()

TYPO3\CMS\FluidStyledContent\Tests\Functional\Rendering\SecureHtmlRenderingTest::createTextContentObjectWithCustomParseFuncInstruction ( string  $value)
private

◆ createTextContentObjectWithDefaultParseFuncRteInstruction()

TYPO3\CMS\FluidStyledContent\Tests\Functional\Rendering\SecureHtmlRenderingTest::createTextContentObjectWithDefaultParseFuncRteInstruction ( string  $value)
private

◆ customParseFuncAvoidCrossSiteScripting()

TYPO3\CMS\FluidStyledContent\Tests\Functional\Rendering\SecureHtmlRenderingTest::customParseFuncAvoidCrossSiteScripting ( string  $payload,
string  $expectation 
)

◆ customParseFuncAvoidsCrossSiteScriptingDataProvider()

TYPO3\CMS\FluidStyledContent\Tests\Functional\Rendering\SecureHtmlRenderingTest::customParseFuncAvoidsCrossSiteScriptingDataProvider ( )

Definition at line 173 of file SecureHtmlRenderingTest.php.

◆ defaultParseFuncRteAvoidCrossSiteScripting()

TYPO3\CMS\FluidStyledContent\Tests\Functional\Rendering\SecureHtmlRenderingTest::defaultParseFuncRteAvoidCrossSiteScripting ( string  $payload,
string  $expectation 
)

◆ defaultParseFuncRteAvoidsCrossSiteScriptingDataProvider()

TYPO3\CMS\FluidStyledContent\Tests\Functional\Rendering\SecureHtmlRenderingTest::defaultParseFuncRteAvoidsCrossSiteScriptingDataProvider ( )

Definition at line 124 of file SecureHtmlRenderingTest.php.

◆ htmlViewHelperAvoidsCrossSiteScripting()

TYPO3\CMS\FluidStyledContent\Tests\Functional\Rendering\SecureHtmlRenderingTest::htmlViewHelperAvoidsCrossSiteScripting ( string  $type,
string  $payload,
string  $expectation 
)

◆ htmlViewHelperAvoidsCrossSiteScriptingDataProvider()

◆ invokeFrontendRendering()

◆ setUp()

◆ setUpBeforeClass()

static TYPO3\CMS\FluidStyledContent\Tests\Functional\Rendering\SecureHtmlRenderingTest::setUpBeforeClass ( )
static

Definition at line 62 of file SecureHtmlRenderingTest.php.

◆ setUpDatabase()

TYPO3\CMS\FluidStyledContent\Tests\Functional\Rendering\SecureHtmlRenderingTest::setUpDatabase ( )
protected

◆ tearDown()

TYPO3\CMS\FluidStyledContent\Tests\Functional\Rendering\SecureHtmlRenderingTest::tearDown ( )
protected

Definition at line 118 of file SecureHtmlRenderingTest.php.

◆ tearDownAfterClass()

static TYPO3\CMS\FluidStyledContent\Tests\Functional\Rendering\SecureHtmlRenderingTest::tearDownAfterClass ( )
static

Definition at line 68 of file SecureHtmlRenderingTest.php.

Member Data Documentation

◆ $coreExtensionsToLoad

string [] TYPO3\CMS\FluidStyledContent\Tests\Functional\Rendering\SecureHtmlRenderingTest::$coreExtensionsToLoad = array( 'fluid_styled_content' )
protected

Definition at line 54 of file SecureHtmlRenderingTest.php.

◆ $internalRequestContext

InternalRequestContext TYPO3\CMS\FluidStyledContent\Tests\Functional\Rendering\SecureHtmlRenderingTest::$internalRequestContext
private

Definition at line 50 of file SecureHtmlRenderingTest.php.

◆ $pathsToLinkInTestInstance

string [] TYPO3\CMS\FluidStyledContent\Tests\Functional\Rendering\SecureHtmlRenderingTest::$pathsToLinkInTestInstance
protected
Initial value:
= array(
'typo3/sysext/core/Tests/Functional/Fixtures/Frontend/AdditionalConfiguration.php' => 'typo3conf/AdditionalConfiguration.php',
)

Definition at line 58 of file SecureHtmlRenderingTest.php.

◆ ENCRYPTION_KEY

const TYPO3\CMS\FluidStyledContent\Tests\Functional\Rendering\SecureHtmlRenderingTest::ENCRYPTION_KEY = '4408d27a916d51e624b69af3554f516dbab61037a9f7b9fd6f81b4d3bedeccb6'
private

Definition at line 36 of file SecureHtmlRenderingTest.php.

◆ LANGUAGE_PRESETS

const TYPO3\CMS\FluidStyledContent\Tests\Functional\Rendering\SecureHtmlRenderingTest::LANGUAGE_PRESETS
private
Initial value:
= [
'EN' => ['id' => 0, 'title' => 'English', 'locale' => 'en_US.UTF8', 'iso' => 'en', 'hrefLang' => 'en-US', 'direction' => ''],
]

Definition at line 44 of file SecureHtmlRenderingTest.php.

◆ TYPE_DISABLE_HTML_SANITIZE

const TYPO3\CMS\FluidStyledContent\Tests\Functional\Rendering\SecureHtmlRenderingTest::TYPE_DISABLE_HTML_SANITIZE = 'disable-htmlSanitize'
private

◆ TYPE_EMPTY_PARSEFUNCTSPATH

const TYPO3\CMS\FluidStyledContent\Tests\Functional\Rendering\SecureHtmlRenderingTest::TYPE_EMPTY_PARSEFUNCTSPATH = 'empty-parseFuncTSPath'
private

◆ TYPE_PLAIN

const TYPO3\CMS\FluidStyledContent\Tests\Functional\Rendering\SecureHtmlRenderingTest::TYPE_PLAIN = 'plain'
private

◆ TYPO3_CONF_VARS

const TYPO3\CMS\FluidStyledContent\Tests\Functional\Rendering\SecureHtmlRenderingTest::TYPO3_CONF_VARS
private
Initial value:
= [
'SYS' => [
'encryptionKey' => ‪self::ENCRYPTION_KEY,
],
]

Definition at line 38 of file SecureHtmlRenderingTest.php.

‪TYPO3\CMS\FluidStyledContent\Tests\Functional\Rendering\SecureHtmlRenderingTest\ENCRYPTION_KEY
‪const ENCRYPTION_KEY
Definition: SecureHtmlRenderingTest.php:36