From bcbd6236df54359e4b517f462122fb1f085b0cd1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ferdinand=20M=C3=BCtsch?= Date: Mon, 3 Jan 2022 17:30:40 +0100 Subject: [PATCH] fix: adapt badge filter entity regex to cover labels [ci skip] --- routes/compat/shields/v1/badge.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/compat/shields/v1/badge.go b/routes/compat/shields/v1/badge.go index d29a51c..1736549 100644 --- a/routes/compat/shields/v1/badge.go +++ b/routes/compat/shields/v1/badge.go @@ -17,7 +17,7 @@ import ( const ( intervalPattern = `interval:([a-z0-9_]+)` - entityFilterPattern = `(project|os|editor|language|machine):([_a-zA-Z0-9-\s]+)` + entityFilterPattern = `(project|os|editor|language|machine|label):([_a-zA-Z0-9-\s]+)` ) type BadgeHandler struct {