function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Urgent: How to resolve SOQL Injection related issue?

HI all,

I have submitted my application code for security scanner and recieved result report with some secutiy SOQL Injection Vulnerability issues. 
below is the one of the example and already i have implemeted escape singlequote also. but it shows again there is SOQL Injection vulnerability issue on below mentioned screen. pleae help me out how to handle this issue.
User-added image

I think the scanner is looking for the word "admin" in your code. If you change the variable and class names, I think it will fix the issue.