GitHub - phith0n/XssHtml: php富文本过滤类,XSS Filter

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Folders and files

NameName

Last commit message

Last commit date

Latest commit

History

4 Commits

Repository files navigation

Written by Phithon <root@leavesongs.com> in 2014 and placed in
the public domain.

phithon <root@leavesongs.com> 编写于20140621
From: XDSEC <www.xdsec.org> & 离别歌 <www.leavesongs.com>

Usage: 
<?php
require('xsshtml.class.php');
$html = '<html code>';
$xss = new XssHtml($html);
$html = $xss->getHtml();
?>

需求:
PHP Version > 5.0
浏览器版本:IE7+ 或其他浏览器,无法防御IE6及以下版本浏览器中的XSS
更多使用选项见 http://phith0n.github.io/XssHtml

About

php富文本过滤类,XSS Filter

Resources

Readme

Activity

Stars

151 stars

Watchers

10 watching

Forks

52 forks

Releases

No releases published

Languages