File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed
src/main/java/io/shiftleft/controller Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -20,13 +20,16 @@ public class SearchController {
2020 @ RequestMapping (value = "/search/user" , method = RequestMethod .GET )
2121 public String doGetSearch (@ RequestParam String foo , HttpServletResponse response , HttpServletRequest request ) {
2222 java .lang .Object message = new Object ();
23- try {
24- ExpressionParser parser = new SpelExpressionParser ();
25- Expression exp = parser .parseExpression (foo );
26- message = (Object ) exp .getValue ();
27- } catch (Exception ex ) {
28- System .out .println (ex .getMessage ());
23+ [
24+ {
25+ "[javax.servlet.http.HttpServletResponse]" : "VALID and ACTIVE" ,
26+ "[javax.servlet.http.HttpServletRequest]" : "VALID and ACTIVE" ,
27+ "[org.apache.commons.text.StringEscapeUtils]" : "VALID and ACTIVE" ,
28+ "[org.slf4j.Logger]" : "VALID and ACTIVE" ,
29+ "[org.slf4j.LoggerFactory]" : "VALID and ACTIVE"
2930 }
31+ ]
32+
3033 return message .toString ();
3134 }
3235}
You can’t perform that action at this time.
0 commit comments