Support case-insensitive domains in url_is_from_any_domain()