Skip to content

Commit

Permalink
ingest: length and symbol restriction for track event names
Browse files Browse the repository at this point in the history
  • Loading branch information
absorbb committed Dec 27, 2023
1 parent d9e5f12 commit 5973035
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ingest/router.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ var eventTypesDict = map[string]string{

var eventTypesSet = utils.NewSet("page", "identify", "track", "group", "alias", "screen")

var notAllowedEventNameChars = regexp.MustCompile("[^a-zA-Z0-9_ :'/-]+")
var notAllowedEventNameChars = regexp.MustCompile("[^a-zA-Z0-9_ :'/,-]+")

type Router struct {
*appbase.Router
Expand Down

0 comments on commit 5973035

Please sign in to comment.