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) }