From e5d08de8fbaf2882ef9463ce1d7d23b25e82f9ab Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Sun, 13 Oct 2019 02:04:36 -0400 Subject: [PATCH] skip weird long tags --- web.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/web.go b/web.go index fb7f416..2d9de2d 100644 --- a/web.go +++ b/web.go @@ -679,6 +679,9 @@ func thelistingoftheontologies(w http.ResponseWriter, r *http.Request) { log.Printf("error scanning ont: %s", err) continue } + if len(o.Name) > 24 { + continue + } o.Name = o.Name[1:] onts = append(onts, o) }