diff options
author | John Estabrook <jestabro@vyos.io> | 2024-03-10 15:09:06 -0500 |
---|---|---|
committer | John Estabrook <jestabro@vyos.io> | 2024-03-10 15:09:06 -0500 |
commit | 66b92e1cd4ec948c1e2df4bee9b21da9633f5bd8 (patch) | |
tree | d8a8116ca78891b9c829af4214669426b68c85c3 /interface-definitions/include/generic-description.xml.i | |
parent | 3678d6295cf05ab84eceea84bf3f7729e7c1c432 (diff) | |
download | vyos-1x-66b92e1cd4ec948c1e2df4bee9b21da9633f5bd8.tar.gz vyos-1x-66b92e1cd4ec948c1e2df4bee9b21da9633f5bd8.zip |
xml: T6098: relax description constraint to allow non-ascii characters
A restriction to ascii in the constraint disallowed earlier support for
unicode bytes.
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 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> |