mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-02-24 21:47:26 +00:00
Refactor telemetry checks, relax method validation
Reformat telemetry pre-checks in misc/api.func for clearer multi-line condition handling and remove stray whitespace around the curl response logging. Tweak misc/build.func comment line (minor encoding/visual cleanup). In misc/data/service.go remove the strict allowedMethod map and its validation so the 'method' field is treated as optional/flexible; keep sanitization and numeric validations unchanged. These changes improve readability and allow custom method values without breaking behavior.
This commit is contained in:
@@ -1882,7 +1882,7 @@ advanced_settings() {
|
||||
fi
|
||||
;;
|
||||
|
||||
# ══════════════<E29590><E29590>════════════════════════════════════════════════════════════
|
||||
# ══════════════<E29590><E29590><EFBFBD>════════════════════════════════════════════════════════════
|
||||
# STEP 3: Container ID
|
||||
# ═══════════════════════════════════════════════════════════════════════════
|
||||
3)
|
||||
|
||||
Reference in New Issue
Block a user