scelusswe/escaper
Composer 安装命令:
composer require scelusswe/escaper
包简介
Provides extended escaping funtionality to prevent XSS attacks.
README 文档
README
XSS---Escaper-Class-for-safer-websites
Escaper Class to prevent XSS attacks
CEscaper is based upon the recommendations found here:
https://wiki.php.net/rfc/escaper
https://www.owasp.org/index.php/XSS_%28Cross_Site_Scripting%29_Prevention_Cheat_Sheet
Documentation used
http://php.net/manual/en/function.preg-replace-callback.php
http://php.net/manual/en/function.rawurlencode.php
http://php.net/manual/en/regexp.reference.escape.php
http://php.net/manual/en/function.htmlspecialchars.php
Inspiration gathered from:
https://docs.phalconphp.com/en/latest/api/Phalcon_Escaper.html
https://docs.phalconphp.com/en/latest/reference/escaper.html#escaping-html
统计信息
- 总下载量: 16
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2016-04-07