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(-)


_______________________________________________
pve-devel mailing list
[email protected]
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to