#371 Moved domain check to method check_url_encrypt