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 8cec653 commit c337c5eCopy full SHA for c337c5e
internals/proxy/proxy.go
@@ -27,7 +27,7 @@ const (
27
)
28
29
func tryParseInt(str string) (int, bool) {
30
- isInt, err := regexp.MatchString(`[0-9_]*`, str)
+ isInt, err := regexp.MatchString(`^\d+$`, str)
31
32
if err != nil {
33
log.Error("Encountered Error while Parsing Int", err.Error())
0 commit comments