Closed yixinrock closed 8 years ago
just coding as following:
$name = '<script>alert("1");</script>'; $renderer->render($response, "home.phtml", ['name'] => $name);
If you're using PHP-View rather than Twig-View, then it is the developer's responsibility to use htmlspecialchars() or zend-escaper.
htmlspecialchars()
zend-escaper
We should probably note this in the README.
README updated.
just coding as following: