sanitize, 基于白名单的ruby HTML和 CSS.zip

时间:2022-10-08 18:49:03
【文件属性】:
文件名称:sanitize, 基于白名单的ruby HTML和 CSS.zip
文件大小:1.31MB
文件格式:ZIP
更新时间:2022-10-08 18:49:03
开源 sanitize, 基于白名单的ruby HTML和 CSS 消毒Sanitize是基于白名单的HTML和CSS杀毒工具。 如果给定可以接受元素。属性和CSS属性的列表,Sanitize将从字符串中删除所有不可接受的HTML和/或者 CSS 。使用简单的配置语法,可以告诉Sanitize允许某些H
【文件预览】:
sanitize-master
----.travis.yml(115B)
----benchmark()
--------html()
--------helpers.rb(3KB)
--------benchmark.rb(4KB)
----sanitize.gemspec(1KB)
----HISTORY.md(21KB)
----Rakefile(411B)
----test()
--------test_malicious_css.rb(1KB)
--------test_clean_element.rb(19KB)
--------test_malicious_html.rb(8KB)
--------test_clean_doctype.rb(3KB)
--------test_sanitize_css.rb(13KB)
--------test_clean_comment.rb(2KB)
--------test_config.rb(2KB)
--------test_transformers.rb(8KB)
--------common.rb(80B)
--------test_parser.rb(2KB)
--------test_sanitize.rb(8KB)
--------test_clean_css.rb(2KB)
----.yardopts(31B)
----SECURITY.md(1KB)
----LICENSE(1KB)
----COMPARISON.md(10KB)
----Gemfile(38B)
----.gitignore(65B)
----lib()
--------sanitize.rb(8KB)
--------sanitize()
----README.md(20KB)

网友评论