Blog of Daniel Ruf

#php

don't blindly trust FILTER_VALIDATE_URL

25.05.2020

Valid URLs can use a wide range of different protocols. This requires strict validation of user supplied URLs combined with correct checks. Too lax or wrong checks can quickly lead to vulnerabilities.