summaryrefslogtreecommitdiff
path: root/interface-definitions/include/generic-description.xml.i
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2024-03-10 15:09:06 -0500
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-03-10 20:14:42 +0000
commit72a8a1ebde5b24a6a888137aca1a450b298942db (patch)
tree58dd321c9bbb8c47bbf1e691b32a7b605d49b3d0 /interface-definitions/include/generic-description.xml.i
parent5472986c1fa75542bf8b87159eec318e50fda13f (diff)
downloadvyos-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/generic-description.xml.i')
-rw-r--r--interface-definitions/include/generic-description.xml.i2
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>