Pretty much the title. I want to use datetime.strptime in my flask application with dates I am getting over post requests.
Can I directly feed the input to strptime and catch exceptions and that should be enough security-wise? Should I do any more validation before?