1
0
mirror of https://github.com/muety/wakapi.git synced 2023-08-10 21:12:56 +03:00

fix: allow project names with dots for badges (resolve #301)

This commit is contained in:
Ferdinand Mütsch
2022-01-06 14:45:26 +01:00
parent 8e6719f0b7
commit e967a74e36
2 changed files with 44 additions and 1 deletions

View File

@ -17,7 +17,7 @@ import (
const (
intervalPattern = `interval:([a-z0-9_]+)`
entityFilterPattern = `(project|os|editor|language|machine|label):([_a-zA-Z0-9-\s]+)`
entityFilterPattern = `(project|os|editor|language|machine|label):([_a-zA-Z0-9-\s\.]+)`
)
type BadgeHandler struct {