Skip to content

Commit 571e0c3

Browse files
committed
bug fix
1 parent 4cffffd commit 571e0c3

File tree

1 file changed

+1
-7
lines changed
  • src/main/java/org/joychou/controller

1 file changed

+1
-7
lines changed

src/main/java/org/joychou/controller/CORS.java

+1-7
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
/**
1313
* @author: JoyChou
1414
* @date: 2018年10月24日
15-
* @desc: 只要Access-Control-Allow-Origin为*,或者可被绕过,就存在CORS跨域
15+
* @desc: https://github.com/JoyChou93/java-sec-code/wiki/CORS
1616
*/
1717

1818
@Controller
@@ -22,12 +22,6 @@ public class CORS {
2222
protected static String info = "{\"name\": \"JoyChou\", \"phone\": \"18200001111\"}";
2323
protected static String[] urlwhitelist = {"joychou.com", "joychou.me"};
2424

25-
/**
26-
*
27-
* @param request
28-
* @param response
29-
* @desc https://github.com/JoyChou93/java-sec-code/wiki/CORS
30-
*/
3125
@RequestMapping("/vuls1")
3226
@ResponseBody
3327
private static String vuls1(HttpServletRequest request, HttpServletResponse response) {

0 commit comments

Comments
 (0)