Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authormhsanaei <ho3ein.sanaei@gmail.com>2025-09-21 18:39:30 +0300
committermhsanaei <ho3ein.sanaei@gmail.com>2025-09-21 18:39:30 +0300
commiteacfbc86b5f7ba08c4be1bdf14a3d552aeb1874b (patch)
treef2c83ddd5f69867292a8ee8a506c9cc07ddd700b /config
parent37c17357fc45b9acec387f3097be5db074ce880d (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.go10
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.