htmlpurifier:用PHP编写的符合标准HTML过滤器

上传者: 42165712 | 上传时间: 2025-08-29 15:52:49 | 文件大小: 413KB | 文件类型: ZIP
HTML净化器 HTML Purifier是一种HTML筛选解决方案,它使用了强大的白名单和主动解析的独特组合,以确保不仅阻止XSS攻击,而且确保生成HTML符合标准。 HTML Purifier面向需要CSS和完整标签集的不受信任来源的格式丰富的文档。 可以将该库配置为接受一组限制性更强的标签,但是它不如更多的准系统分析器有效。 但是,它将做对工作,这可能更为重要。 要去的地方: 请参阅安装以获取快速安装指南 有关面向开发人员的文档,代码示例和深入的安装指南,请参阅docs /。 有关TinyMCE和FCKeditor等编辑器的信息,请参见所见即所得 可以在以下网站上找到HTML Purifier: : 安装 软件包可在。 如果您使用Composer来管理依赖项,则可以使用 $ composer require ezyang/htmlpurifier

文件下载

资源详情

[{"title":"( 379 个子文件 413KB ) htmlpurifier:用PHP编写的符合标准HTML过滤器","children":[{"title":"CREDITS <span style='color:#111;'> 341B </span>","children":null,"spread":false},{"title":"ConfigForm.css <span style='color:#111;'> 301B </span>","children":null,"spread":false},{"title":"Template.php.in <span style='color:#111;'> 1.63KB </span>","children":null,"spread":false},{"title":"info.ini <span style='color:#111;'> 45B </span>","children":null,"spread":false},{"title":"ConfigForm.js <span style='color:#111;'> 142B </span>","children":null,"spread":false},{"title":"composer.json <span style='color:#111;'> 792B </span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'> 25.84KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 1.20KB </span>","children":null,"spread":false},{"title":"PH5P.php <span style='color:#111;'> 178.30KB </span>","children":null,"spread":false},{"title":"Config.php <span style='color:#111;'> 30.96KB </span>","children":null,"spread":false},{"title":"MakeWellFormed.php <span style='color:#111;'> 26.97KB </span>","children":null,"spread":false},{"title":"Encoder.php <span style='color:#111;'> 25.05KB </span>","children":null,"spread":false},{"title":"DirectLex.php <span style='color:#111;'> 20.02KB </span>","children":null,"spread":false},{"title":"CSSDefinition.php <span style='color:#111;'> 18.62KB </span>","children":null,"spread":false},{"title":"HTMLDefinition.php <span style='color:#111;'> 17.33KB </span>","children":null,"spread":false},{"title":"HTMLModuleManager.php <span style='color:#111;'> 15.57KB </span>","children":null,"spread":false},{"title":"ConfigForm.php <span style='color:#111;'> 14.47KB </span>","children":null,"spread":false},{"title":"AutoParagraph.php <span style='color:#111;'> 13.47KB </span>","children":null,"spread":false},{"title":"ExtractStyleBlocks.php <span style='color:#111;'> 13.29KB </span>","children":null,"spread":false},{"title":"HTMLPurifier.safe-includes.php <span style='color:#111;'> 13.19KB </span>","children":null,"spread":false},{"title":"Lexer.php <span style='color:#111;'> 13.12KB </span>","children":null,"spread":false},{"title":"DOMLex.php <span style='color:#111;'> 12.17KB </span>","children":null,"spread":false},{"title":"URI.php <span style='color:#111;'> 10.35KB </span>","children":null,"spread":false},{"title":"HTMLPurifier.includes.php <span style='color:#111;'> 10.27KB </span>","children":null,"spread":false},{"title":"HTMLDefinition.php <span style='color:#111;'> 10.25KB </span>","children":null,"spread":false},{"title":"Generator.php <span style='color:#111;'> 10.01KB </span>","children":null,"spread":false},{"title":"HTMLModule.php <span style='color:#111;'> 9.96KB </span>","children":null,"spread":false},{"title":"HTMLPurifier.php <span style='color:#111;'> 9.95KB </span>","children":null,"spread":false},{"title":"UnitConverter.php <span style='color:#111;'> 9.89KB </span>","children":null,"spread":false},{"title":"EntityParser.php <span style='color:#111;'> 9.75KB </span>","children":null,"spread":false},{"title":"FontFamily.php <span style='color:#111;'> 9.19KB </span>","children":null,"spread":false},{"title":"Serializer.php <span style='color:#111;'> 9.13KB </span>","children":null,"spread":false},{"title":"RemoveForeignElements.php <span style='color:#111;'> 8.96KB </span>","children":null,"spread":false},{"title":"Injector.php <span style='color:#111;'> 8.79KB </span>","children":null,"spread":false},{"title":"Validator.php <span style='color:#111;'> 8.17KB </span>","children":null,"spread":false},{"title":"ErrorCollector.php <span style='color:#111;'> 7.45KB </span>","children":null,"spread":false},{"title":"FixNesting.php <span style='color:#111;'> 7.38KB </span>","children":null,"spread":false},{"title":"ElementDef.php <span style='color:#111;'> 7.35KB </span>","children":null,"spread":false},{"title":"Tidy.php <span style='color:#111;'> 7.21KB </span>","children":null,"spread":false},{"title":"Table.php <span style='color:#111;'> 7.00KB </span>","children":null,"spread":false},{"title":"InterchangeBuilder.php <span style='color:#111;'> 6.95KB </span>","children":null,"spread":false},{"title":"XHTMLAndHTML4.php <span style='color:#111;'> 6.93KB </span>","children":null,"spread":false},{"title":"LanguageFactory.php <span style='color:#111;'> 6.46KB </span>","children":null,"spread":false},{"title":"Font.php <span style='color:#111;'> 6.45KB </span>","children":null,"spread":false},{"title":"AttrValidator.php <span style='color:#111;'> 6.42KB </span>","children":null,"spread":false},{"title":"Language.php <span style='color:#111;'> 5.92KB </span>","children":null,"spread":false},{"title":"VarParser.php <span style='color:#111;'> 5.85KB </span>","children":null,"spread":false},{"title":"ConfigSchema.php <span style='color:#111;'> 5.76KB </span>","children":null,"spread":false},{"title":"Printer.php <span style='color:#111;'> 5.76KB </span>","children":null,"spread":false},{"title":"Legacy.php <span style='color:#111;'> 5.72KB </span>","children":null,"spread":false},{"title":"Forms.php <span style='color:#111;'> 5.70KB </span>","children":null,"spread":false},{"title":"ContentSets.php <span style='color:#111;'> 5.51KB </span>","children":null,"spread":false},{"title":"Host.php <span style='color:#111;'> 5.28KB </span>","children":null,"spread":false},{"title":"AttrDef.php <span style='color:#111;'> 5.07KB </span>","children":null,"spread":false},{"title":"Flexible.php <span style='color:#111;'> 4.94KB </span>","children":null,"spread":false},{"title":"MakeAbsolute.php <span style='color:#111;'> 4.84KB </span>","children":null,"spread":false},{"title":"AttrCollections.php <span style='color:#111;'> 4.75KB </span>","children":null,"spread":false},{"title":"Color.php <span style='color:#111;'> 4.57KB </span>","children":null,"spread":false},{"title":"Bootstrap.php <span style='color:#111;'> 4.50KB </span>","children":null,"spread":false},{"title":"Zipper.php <span style='color:#111;'> 4.34KB </span>","children":null,"spread":false},{"title":"Xml.php <span style='color:#111;'> 4.27KB </span>","children":null,"spread":false},{"title":"data.php <span style='color:#111;'> 4.26KB </span>","children":null,"spread":false},{"title":"CSS.php <span style='color:#111;'> 4.24KB </span>","children":null,"spread":false},{"title":"DoctypeRegistry.php <span style='color:#111;'> 4.13KB </span>","children":null,"spread":false},{"title":"BackgroundPosition.php <span style='color:#111;'> 4.07KB </span>","children":null,"spread":false},{"title":"en.php <span style='color:#111;'> 3.95KB </span>","children":null,"spread":false},{"title":"SafeObject.php <span style='color:#111;'> 3.86KB </span>","children":null,"spread":false},{"title":"DefinitionCache.php <span style='color:#111;'> 3.82KB </span>","children":null,"spread":false},{"title":"Length.php <span style='color:#111;'> 3.78KB </span>","children":null,"spread":false},{"title":"AttrTypes.php <span style='color:#111;'> 3.58KB </span>","children":null,"spread":false},{"title":"StringHashParser.php <span style='color:#111;'> 3.56KB </span>","children":null,"spread":false},{"title":"PercentEncoder.php <span style='color:#111;'> 3.48KB </span>","children":null,"spread":false},{"title":"RemoveEmpty.php <span style='color:#111;'> 3.43KB </span>","children":null,"spread":false},{"title":"URIScheme.php <span style='color:#111;'> 3.40KB </span>","children":null,"spread":false},{"title":"Text.php <span style='color:#111;'> 3.35KB </span>","children":null,"spread":false},{"title":"URIDefinition.php <span style='color:#111;'> 3.35KB </span>","children":null,"spread":false},{"title":"Font.php <span style='color:#111;'> 3.29KB </span>","children":null,"spread":false},{"title":"Required.php <span style='color:#111;'> 3.27KB </span>","children":null,"spread":false},{"title":"Background.php <span style='color:#111;'> 3.13KB </span>","children":null,"spread":false},{"title":"ID.php <span style='color:#111;'> 3.13KB </span>","children":null,"spread":false},{"title":"DefinitionCacheFactory.php <span style='color:#111;'> 3.13KB </span>","children":null,"spread":false},{"title":"Munge.php <span style='color:#111;'> 3.07KB </span>","children":null,"spread":false},{"title":"TokenFactory.php <span style='color:#111;'> 3.03KB </span>","children":null,"spread":false},{"title":"List.php <span style='color:#111;'> 2.94KB </span>","children":null,"spread":false},{"title":"StrictBlockquote.php <span style='color:#111;'> 2.85KB </span>","children":null,"spread":false},{"title":"ListStyle.php <span style='color:#111;'> 2.84KB </span>","children":null,"spread":false},{"title":"ValidatorAtom.php <span style='color:#111;'> 2.79KB </span>","children":null,"spread":false},{"title":"PropertyList.php <span style='color:#111;'> 2.72KB </span>","children":null,"spread":false},{"title":"Custom.php <span style='color:#111;'> 2.67KB </span>","children":null,"spread":false},{"title":"URI.php <span style='color:#111;'> 2.65KB </span>","children":null,"spread":false},{"title":"Context.php <span style='color:#111;'> 2.57KB </span>","children":null,"spread":false},{"title":"URI.php <span style='color:#111;'> 2.51KB </span>","children":null,"spread":false},{"title":"Arborize.php <span style='color:#111;'> 2.49KB </span>","children":null,"spread":false},{"title":"Integer.php <span style='color:#111;'> 2.49KB </span>","children":null,"spread":false},{"title":"SafeParam.php <span style='color:#111;'> 2.48KB </span>","children":null,"spread":false},{"title":"IPv6.php <span style='color:#111;'> 2.42KB </span>","children":null,"spread":false},{"title":"Lang.php <span style='color:#111;'> 2.38KB </span>","children":null,"spread":false},{"title":"URISchemeRegistry.php <span style='color:#111;'> 2.35KB </span>","children":null,"spread":false},{"title":"Decorator.php <span style='color:#111;'> 2.32KB </span>","children":null,"spread":false},{"title":"URIFilter.php <span style='color:#111;'> 2.31KB </span>","children":null,"spread":false},{"title":"......","children":null,"spread":false},{"title":"<span style='color:steelblue;'>文件过多,未全部展示</span>","children":null,"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明