diff options
author | Christian Breunig <christian@breunig.cc> | 2024-03-10 17:56:08 +0100 |
---|---|---|
committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2024-03-10 17:00:22 +0000 |
commit | 9ec374140aa206b97161c735e9f0512148480866 (patch) | |
tree | 1088c329511e5caa61c8c08d9ea9af447398c223 /interface-definitions/include/generic-description.xml.i | |
parent | c29023becfe26e19284d9520820f5c00eefd6527 (diff) | |
download | vyos-1x-9ec374140aa206b97161c735e9f0512148480866.tar.gz vyos-1x-9ec374140aa206b97161c735e9f0512148480866.zip |
xml: T5738: revert invalid change from lower character limit - 0 length must be allowed
This reverts a change from commit a72ededa0 ("xml: T5738: lower maximum
description to 255 characters") which incresaed the lower limit from 0 to 1.
We actually require 0 length value for description nodes as introduced in
commit 6eea12512e ("xml: T1579: allow zero length for description").
(cherry picked from commit 724c685cba423758bece827d6d286815933ba912)
Diffstat (limited to 'interface-definitions/include/generic-description.xml.i')
-rw-r--r-- | interface-definitions/include/generic-description.xml.i | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/interface-definitions/include/generic-description.xml.i b/interface-definitions/include/generic-description.xml.i index ffe037a01..0b3701534 100644 --- a/interface-definitions/include/generic-description.xml.i +++ b/interface-definitions/include/generic-description.xml.i @@ -7,7 +7,7 @@ <description>Description</description> </valueHelp> <constraint> - <regex>[[:ascii:]]{1,255}</regex> + <regex>[[:ascii:]]{0,255}</regex> </constraint> <constraintErrorMessage>Description too long (limit 255 characters)</constraintErrorMessage> </properties> |