0

I have to find PCI vulnerabilities in the Sanitization of fields. I have one form to submit data. In this, input fields of form should be sanitized.how to add a script for sanitization in magento1.9 for input text fields.

1 Answer 1

0

I tried the same way is working fine

        public function InputIntFilter($val)
         {   
       return filter_var($val, FILTER_SANITIZE_NUMBER_INT);
        }   

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.