We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ec693c2 + 68dedcd commit 108f7d2Copy full SHA for 108f7d2
conn.go
@@ -76,13 +76,15 @@ func uploadHandler(c *gin.Context) {
76
return
77
}
78
79
- err := verifyCommandLine(commandline, signature)
+ if extraInfo.networkPort {
80
+ err := verifyCommandLine(commandline, signature)
81
- if err != nil {
82
- c.String(http.StatusBadRequest, "signature is invalid")
83
- log.Error("signature is invalid")
84
- log.Error(err)
85
- return
+ if err != nil {
+ c.String(http.StatusBadRequest, "signature is invalid")
+ log.Error("signature is invalid")
+ log.Error(err)
86
+ return
87
+ }
88
89
90
extraInfo.use_1200bps_touch, _ = strconv.ParseBool(c.PostForm("use_1200bps_touch"))
0 commit comments