Skip to content

Commit

Permalink
Merge pull request linkedin#95 from Erethon/master
Browse files Browse the repository at this point in the history
Allow periods in the name of a topic
  • Loading branch information
toddpalino authored Aug 7, 2016
2 parents 61373c8 + b1590ea commit 2021396
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config.go
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ func validateZookeeperPath(path string) bool {
}

func validateTopic(topic string) bool {
matches, _ := regexp.MatchString(`^[a-zA-Z0-9_\-]+$`, topic)
matches, _ := regexp.MatchString(`^[a-zA-Z0-9_\.-]+$`, topic)
return matches
}

Expand Down

0 comments on commit 2021396

Please sign in to comment.