4 Star 8 Fork 1

米老头 / xss-spring-boot-starter

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

xss-spring-boot-starter

项目介绍

基于Spring-boot的Xss、SQL防护

安装教程

  1. mvn install
  2. 引入jar
<dependency>
    <groupId>com.bizihang</groupId>
    <artifactId>xss-spring-boot-starter</artifactId>
    <version>0.0.1</version>
</dependency>
  1. 在application.properties文件中加入xss配置项xss.enbale=true

使用说明

在application.properties文件中加入如下代码:

# 开启xss防护
xss.enable=true
# 开启sql注入防护
xss.sql-filter=true
# 设置xss防护的url拦截路径
xss.url-patterns=/**
# 设置xss防护过滤器的优先级,值越小优先级越高
xss.order=0

空文件

简介

基于Spring-boot的Xss、SQL防护 展开 收起
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Java
1
https://gitee.com/milaotou.com/xss-spring-boot-starter.git
git@gitee.com:milaotou.com/xss-spring-boot-starter.git
milaotou.com
xss-spring-boot-starter
xss-spring-boot-starter
master

搜索帮助