protected static property EditorSecurityTest::$sampleContentSecuredEmbedAllowed in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/editor/src/Tests/EditorSecurityTest.php \Drupal\editor\Tests\EditorSecurityTest::sampleContentSecuredEmbedAllowed
The secured sample content to use in tests when the <embed> tag is allowed.
Type: string
File
- core/
modules/ editor/ src/ Tests/ EditorSecurityTest.php, line 39 - Contains \Drupal\editor\Tests\EditorSecurityTest.
Class
- EditorSecurityTest
- Tests XSS protection for content creators when using text editors.
Namespace
Drupal\editor\TestsCode
protected static $sampleContentSecuredEmbedAllowed = '<p>Hello, Dumbo Octopus!</p>alert(0)<embed type="image/svg+xml" src="image.svg" />';