We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ca913a commit fc56748Copy full SHA for fc56748
discovery_server.go
@@ -155,7 +155,7 @@ func (d *DiscoveryServer) hello(cmd string) {
155
d.outputError("hello", "HELLO already called")
156
return
157
}
158
- re := regexp.MustCompile(`(\d+) "([^"]+)"$`)
+ re := regexp.MustCompile(`^(\d+) "([^"]+)"$`)
159
matches := re.FindStringSubmatch(cmd)
160
if len(matches) != 3 {
161
d.outputError("hello", "Invalid HELLO command")
0 commit comments