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
Pratik Raut 14Pratik Raut 14 

Parameter Tampering issue for get/set local variable

Hii,
I have local get/set variable in my Apex class
public String agency {get;set;}

and I am using this variable in code as below shown
 Set<String> agecySet = new set<String>(agency.split(','));          return convetToMultipleList([SELECT name FROM Clauses__c WHERE Agency__c IN :agecySet]);

But while security review I am getting parameter tampering issue.

Any resolution on this?
Thanks,
Pratik

$hwet@$hwet@
Hi,

Please see the link. Hope it helps.
https://developer.salesforce.com/forums/?id=906F00000009DYIIA2
Pratik Raut 14Pratik Raut 14

Hi Sweta,

I am not using any variable that getting parameter from URL. I am using getter setter variable public String agency {get; set;} and it binds to the picklist (MultiSelect) in VF page and then I used Set<String> that contains the split values from agency variable and then the Set<String> I used in the query and it throwing Parameter Tempering error while security review.