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 /config | |
| 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 'config')
| -rw-r--r-- | config/config.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/config/config.go b/config/config.go index c9a3e83c..17c9a77f 100644 --- a/config/config.go +++ b/config/config.go @@ -23,11 +23,11 @@ type LogLevel string // Logging level constants const ( - Debug LogLevel = "debug" - Info LogLevel = "info" - Notice LogLevel = "notice" - Warn LogLevel = "warn" - Error LogLevel = "error" + Debug LogLevel = "debug" + Info LogLevel = "info" + Notice LogLevel = "notice" + Warning LogLevel = "warning" + Error LogLevel = "error" ) // GetVersion returns the version string of the 3x-ui application. |
