You are here

private property MetatagXssTest::$escapedXssTag in Metatag 8

Rendered xss tag that has escaped attribute to avoid xss injection.

Type: string

File

tests/src/Functional/MetatagXssTest.php, line 36

Class

MetatagXssTest
Ensures that meta tags do not allow xss vulnerabilities.

Namespace

Drupal\Tests\metatag\Functional

Code

private $escapedXssTag = '<meta name="abstract" content="&quot;&gt;alert(&quot;xss&quot;);" />';