diff options
author | John Estabrook <jestabro@vyos.io> | 2024-03-10 15:09:06 -0500 |
---|---|---|
committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2024-03-10 20:14:42 +0000 |
commit | 72a8a1ebde5b24a6a888137aca1a450b298942db (patch) | |
tree | 58dd321c9bbb8c47bbf1e691b32a7b605d49b3d0 /interface-definitions/include | |
parent | 5472986c1fa75542bf8b87159eec318e50fda13f (diff) | |
download | vyos-1x-72a8a1ebde5b24a6a888137aca1a450b298942db.tar.gz vyos-1x-72a8a1ebde5b24a6a888137aca1a450b298942db.zip |
xml: T6098: relax description constraint to allow non-ascii characters
A restriction to ascii in the constraint disallowed earlier support for
unicode bytes.
(cherry picked from commit 66b92e1cd4ec948c1e2df4bee9b21da9633f5bd8)
Diffstat (limited to 'interface-definitions/include')
-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 0b3701534..7e091eae7 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:]]{0,255}</regex> + <regex>.{0,255}</regex> </constraint> <constraintErrorMessage>Description too long (limit 255 characters)</constraintErrorMessage> </properties> |