skip weird long tags

This commit is contained in:
Ted Unangst 2019-10-13 02:04:36 -04:00
parent 39ff5b5aa8
commit e5d08de8fb
1 changed files with 3 additions and 0 deletions

3
web.go
View File

@ -679,6 +679,9 @@ func thelistingoftheontologies(w http.ResponseWriter, r *http.Request) {
log.Printf("error scanning ont: %s", err) log.Printf("error scanning ont: %s", err)
continue continue
} }
if len(o.Name) > 24 {
continue
}
o.Name = o.Name[1:] o.Name = o.Name[1:]
onts = append(onts, o) onts = append(onts, o)
} }