wangsaitao 732d057a22 -m修改 | 1 år sedan | |
---|---|---|
.. | ||
src | 1 år sedan | |
CHANGELOG.md | 1 år sedan | |
LICENSE.md | 1 år sedan | |
README.md | 1 år sedan | |
composer.json | 1 år sedan |
The OWASP Top 10 web security risks study lists Cross-Site Scripting (XSS) in second place. PHP’s sole functionality against XSS is limited to two functions of which one is commonly misapplied. Thus, the zend-escaper component was written. It offers developers a way to escape output and defend from XSS and related vulnerabilities by introducing contextual escaping based on peer-reviewed rules.
Run the following to install this library:
$ composer require zendframework/zend-escaper
Browse the documentation online at https://docs.zendframework.com/zend-escaper/