We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 697bf35 commit bc97f81Copy full SHA for bc97f81
pom.xml
@@ -71,7 +71,7 @@
71
<artifactId>dom4j</artifactId>
72
<version>2.1.1</version>
73
</dependency>
74
-
+
75
76
<!-- 获取url根域名-->
77
<dependency>
src/main/java/org/joychou/controller/URLRedirect.java
@@ -22,10 +22,6 @@
22
@RequestMapping("/urlRedirect")
23
public class URLRedirect {
24
25
- @GetMapping("/redirect")
26
- public String redirect(@RequestParam("url") String url) {
27
- return "redirect:" + url;
28
- }
29
/**
30
* @disc: 存在URL重定向漏洞
31
* @fix: 添加URL白名单 https://github.com/JoyChou93/trident/blob/master/src/main/java/CheckURL.java
0 commit comments