I would like to see how Joomla / Drupal do their validation / security, where are the input validation scripts located?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There isn’t a single/central validation code for user’s input in Drupal. Each form as it own validations handlers, search for _validate in the Drupal API. In addition, there is some re-usable validation functions such as
valid_url()andvalid_email_address(). Drupal also encourage output sanitization with functions such ast(),check_plain()orfilter_xss(). Drupal discourage bad-practive regarding SQL injection by favoring placeholders in query string, seedb_query().