mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-03-02 14:59:21 +00:00
VMs set DISK_SIZE=32G (with G suffix), but post_update_to_api used \ directly in JSON, producing 'disk_size: 32G' which is invalid JSON. The server rejected these with 'invalid character G'. Now strips the G suffix and validates numeric-only before embedding.