首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > PHP > 净化HTML标记安全标准和政策合规性

净化HTML标记安全标准和政策合规性

  • 资源大小:96.68 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: html 标记 政策 净化

资 源 简 介

htmLawed is a single-file, 45 kb PHP script that makes input text more secure, HTML standards-compliant, and suitable in general from the viewpoint of a web-page administrator, for use in the body of HTML, XHTML or XML documents. A simple HTMLTidy alternative, the htmLawed filter, processor, purifier, sanitizer, beautifier, etc., is highly customizable. It ensures that HTML tags are balanced and properly nested tags, neutralizes code that may be used for cross-site scripting (XSS) attacks, limits allowed HTML elements, attributes, or URL protocols, tidies the code, and so forth. htmLawed is dual licensed under LGPL v3 and GPL v2+.

文 件 列 表

htmLawed_TESTCASE.txt
htmLawed_README.htm
htmLawed.php
htmLawed_README.txt
htmLawedTest.php
VIP VIP
0.183044s