private property MetatagXssTest::$xssImageString in Metatag 8
String that causes an alert when meta tags aren't filtered for xss.
"Image" meta tags are processed differently to others, so this checks for a different string.
Type: string
File
- tests/
src/ Functional/ MetatagXssTest.php, line 46
Class
- MetatagXssTest
- Ensures that meta tags do not allow xss vulnerabilities.
Namespace
Drupal\Tests\metatag\FunctionalCode
private $xssImageString = '"><script>alert("image xss");</script><meta "';