Removed the use of FILTER_VALIDATE_URL, as it does not work for URLs containing UTF-8 characters