# xss-filter-spring-boot-starter **Repository Path**: djkdeveloper/xss-filter-spring-boot-starter ## Basic Information - **Project Name**: xss-filter-spring-boot-starter - **Description**: springboot auto xss - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 5 - **Forks**: 0 - **Created**: 2018-05-23 - **Last Updated**: 2021-11-18 ## Categories & Tags **Categories**: spring-boot-ext **Tags**: None ## README # xss-filter-spring-boot-starter springboot auto xss 使用方法 在项目的pom.xml中加入依赖即口 com.djk xss-filter-spring-boot-starter 0.0.1 目前支持3种入参数xss过滤 @RequestMapping("/test1") public String test1(String name) { log.error("name:{}", name); return name; } @RequestMapping("/test2/{name}/{age}/{test}") public String test2(@PathVariable String name, @PathVariable int age, @PathVariable String test) { log.error("name:{}", name); log.error("age:{}", age); log.error("test:{}", test); return name; } @RequestMapping("/test3") public Params test3(@RequestBody Params params) { log.error("hello:{}", params); return params; }