What is the recommended way in Drupal to perform trim and other checks before accepting user input to avoid sql injections and other similar security issues?


1 Answer 1


I recommend reading this article : https://www.drupal.org/writing-secure-code Really a lot of good tips

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.