title: WSO2 AM 1.10.0 validate query parameters
body: <p>To prevent Log injection, I need to validate the query parameters (country, pesticide and crop) in WSO2 AM. the API looks like below,</p>
  
  <pre><code>http://172.17.100.149/api/mrldatabase/v1/reports?country=AUS&amp;pesticide=ABew30000&amp;crop=22020347
  </code></pre>
  
  <p>Really appreciate if someone can show me a way of validation.</p>