From 5a4c8468835b75bc7d8e6c9f9c5a6c2a6a624def Mon Sep 17 00:00:00 2001 From: John Estabrook Date: Thu, 29 Dec 2022 08:46:48 -0600 Subject: T4761: fix typo --- src/url.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/url.ml b/src/url.ml index 5d36dae..2f3367b 100644 --- a/src/url.ml +++ b/src/url.ml @@ -105,7 +105,7 @@ let host_path_matches s = | host when regex_matches ipv4_addr_format host -> is_ipv4_addr host | host when regex_matches host_name_format host -> true | _ -> false - with Not_found -> false; + with Not_found -> false let validate_uri scheme uri = if host_path_matches uri then Ok () -- cgit v1.2.3