diff --git a/README.md b/README.md index 5799c51b..7e45af02 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,9 @@ # Java Sec Code +Testing this again!! +Java sec code is a very powerful and friendly project for learning Java vulnerability code and stuff. -Java sec code is a very powerful and friendly project for learning Java vulnerability code. +Testing to see if the pull request fires off a scan [中文文档](https://github.com/JoyChou93/java-sec-code/blob/master/README_zh.md) diff --git a/cx.config b/cx.config new file mode 100644 index 00000000..7b877d70 --- /dev/null +++ b/cx.config @@ -0,0 +1,10 @@ +{ + "version": 1.0, + "project": "Java sec code", + "team": "/CxServer", + "sast": { + "preset": "Checkmarx Express", + "incremental": "true", + "forceScan" : "true" + } +} diff --git a/src/main/java/org/joychou/util/WebUtils.java b/src/main/java/org/joychou/util/WebUtils.java index 21cdcd53..1e6824be 100644 --- a/src/main/java/org/joychou/util/WebUtils.java +++ b/src/main/java/org/joychou/util/WebUtils.java @@ -7,6 +7,7 @@ public class WebUtils { // Get request body. + // This is a test public static String getRequestBody(HttpServletRequest request) throws IOException { InputStream in = request.getInputStream(); return convertStreamToString(in);