From 2588d705124ce985ca1176302cfa2bd5e6adde2c Mon Sep 17 00:00:00 2001 From: delthas Date: Wed, 15 Nov 2023 18:59:23 +0100 Subject: [PATCH] add geo to the schemes without authority Example geo URL: geo:25.245470718844146,51.45400942457904 --- xurls.go | 1 + 1 file changed, 1 insertion(+) diff --git a/xurls.go b/xurls.go index 4113b07..e8bc11e 100644 --- a/xurls.go +++ b/xurls.go @@ -89,6 +89,7 @@ var SchemesNoAuthority = []string{ `bitcoin`, // Bitcoin `cid`, // Content-ID `file`, // Files + `geo`, // Geographic location `magnet`, // Torrent magnets `mailto`, // Mail `mid`, // Message-ID