| 12590 | } |
| 12591 | |
| 12592 | [[nodiscard]] bool url::has_valid_domain() const noexcept { |
| 12593 | if (!host.has_value()) { |
| 12594 | return false; |
| 12595 | } |
| 12596 | return checkers::verify_dns_length(host.value()); |
| 12597 | } |
| 12598 | |
| 12599 | [[nodiscard]] std::string url::get_origin() const noexcept { |
| 12600 | if (is_special()) { |
nothing calls this directly
no test coverage detected