Skip to content

Commit

Permalink
Add even more hacks for googleplaytester
Browse files Browse the repository at this point in the history
  • Loading branch information
tulir committed Apr 8, 2024
1 parent aa4317b commit e4c7e3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion submit.go
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ func (s *submitServer) parseRequest(w http.ResponseWriter, req *http.Request, re
}
}

if strings.TrimSpace(p.UserText) == "googleplaytester2" {
if strings.HasPrefix(strings.TrimSpace(p.UserText), "googleplaytester2") {
log.Println("Dropping report with title googleplaytester2")
w.Header().Set("Content-Type", "application/json")
w.WriteHeader(200)
Expand Down

0 comments on commit e4c7e3f

Please sign in to comment.