[URL Handler] : move the url_sanity_check to the URL Handler