mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-04-25 11:25:05 +02:00
User input like 'nfs, cifs' or 'nfs,' would produce invalid pct features strings like 'mount=nfs; cifs' (space breaks pct argument parsing) or 'mount=nfs;' (trailing semicolon). Fixes: - Whiptail dialog (Step 27): normalize input immediately after entry - load_vars_file validation: normalize before regex check, use stricter regex that rejects trailing/leading commas - FEATURES construction: defensive sanitize before building the mount= value (strip spaces, trailing commas/semicolons) All three layers ensure 'nfs, cifs' -> 'nfs,cifs' -> 'mount=nfs;cifs'