Validate that URLs that need to be filtered are actually http(s) or file URLs