You are here

private property MetatagXssTest::$escapedXssImageTag in Metatag 8

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

Type: string

File

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

Class

MetatagXssTest
Ensures that meta tags do not allow xss vulnerabilities.

Namespace

Drupal\Tests\metatag\Functional

Code

private $escapedXssImageTag = '<link rel="image_src" href="&quot;&gt;alert(&quot;image xss&quot;);" />';