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
in .Net framework > 4.0 use AntiXSS
AntiXssEncoder.HtmlEncode()