File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed
src/main/java/org/joychou/controller Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change 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 ) {
You can’t perform that action at this time.
0 commit comments