Skip to content

Conversation

@PotatoCloud
Copy link
Contributor

@PotatoCloud PotatoCloud commented Jan 30, 2024

  • feat. move work dir
  • fix. dangerous tls client
  • feat: version system
  • feat. add tls support
  • feat. add basic-auth support (http api only)

@PotatoCloud PotatoCloud added bug Something isn't working enhancement New feature or request labels Jan 30, 2024
@PotatoCloud PotatoCloud self-assigned this Jan 30, 2024
return httputil.StatusWrap(http.StatusInternalServerError, 0, err)
}

scanResults, err := act.PrefixSearchScan(prefix, q.Get("reg"), int(offset), int(limit))

Check failure

Code scanning / CodeQL

Incorrect conversion between integer types

Incorrect conversion of an unsigned 64-bit integer from [strconv.ParseUint](1) to a lower bit size type int without an upper bound check.
}

if autoTLS {
cfg.InsecureSkipVerify = true

Check failure

Code scanning / CodeQL

Disabled TLS certificate check

InsecureSkipVerify should not be used in production code.
@PotatoCloud PotatoCloud merged commit e9d1c47 into master Jan 30, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bug Something isn't working enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants