How to sanitize and validate user input to pass a Checkmarx scan

前端 未结 2 1791
暖寄归人
暖寄归人 2021-02-20 17:06

I have an endpoint that receives a String from the client as seen below:

@GET
@Path(\"/{x}\")
public Response doSomething(@PathParam(\"x\") String x) {
    Stri         


        
2条回答
提交回复
热议问题