[pve-devel] [PATCH 0/5] fix #7077: Improve ID validation error messages
Arthur Bied-Charreton
a.bied-charreton at proxmox.com
Wed Jan 21 11:32:28 CET 2026
This series improves error messages for ID validation by adding explicit
length checks before regex validations.
The regex patterns used in different ID validators have implicit length
requirements that were often not reflected in the error messages.
pve-network
src/PVE/Network/SDN/Controllers/Plugin.pm | 12 +++++++++++-
src/PVE/Network/SDN/Dns/Plugin.pm | 5 +++++
src/PVE/Network/SDN/Fabrics.pm | 5 +++++
src/PVE/Network/SDN/Ipams/Plugin.pm | 5 +++++
src/PVE/Network/SDN/VnetPlugin.pm | 12 +++++++++++-
src/PVE/Network/SDN/Zones/Plugin.pm | 12 +++++++++++-
6 files changed, 48 insertions(+), 3 deletions(-)
proxmox
pve-api-types/src/types/verifiers.rs | 4 ++++
1 file changed, 4 insertions(+)
pve-storage
src/PVE/Storage/Plugin.pm | 5 +++++
1 file changed, 5 insertions(+)
pve-common
src/PVE/JSONSchema.pm | 5 +++++
2 files changed, 6 insertions(+), 5 deletions(-)
More information about the pve-devel
mailing list