diff options
| author | mhsanaei <ho3ein.sanaei@gmail.com> | 2025-09-21 18:39:30 +0300 |
|---|---|---|
| committer | mhsanaei <ho3ein.sanaei@gmail.com> | 2025-09-21 18:39:30 +0300 |
| commit | eacfbc86b5f7ba08c4be1bdf14a3d552aeb1874b (patch) | |
| tree | f2c83ddd5f69867292a8ee8a506c9cc07ddd700b /main.go | |
| parent | 37c17357fc45b9acec387f3097be5db074ce880d (diff) | |
security fix: Command built from user-controlled sources CWE-78
https://cwe.mitre.org/data/definitions/78.html
https://owasp.org/www-community/attacks/Command_Injection
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -35,7 +35,7 @@ func runWebServer() { logger.InitLogger(logging.INFO) case config.Notice: logger.InitLogger(logging.NOTICE) - case config.Warn: + case config.Warning: logger.InitLogger(logging.WARNING) case config.Error: logger.InitLogger(logging.ERROR) |
