summaryrefslogtreecommitdiff
path: root/interface-definitions/interfaces_wireless.xml.in
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-07-05 06:44:04 +0000
committerChristian Breunig <christian@breunig.cc>2024-07-05 08:48:31 +0200
commit5a6ac65fe0684fc5298de3daa8582294ac387b46 (patch)
treefc32b43afa77c03ee99e7ee5cdd56e101e9ec56d /interface-definitions/interfaces_wireless.xml.in
parentfc4263021acb72d2d8afb165922d9cb7e11b2bf1 (diff)
downloadvyos-1x-5a6ac65fe0684fc5298de3daa8582294ac387b46.tar.gz
vyos-1x-5a6ac65fe0684fc5298de3daa8582294ac387b46.zip
wireless: T6496: use ascii regex for WPA passphrase constraint
Diffstat (limited to 'interface-definitions/interfaces_wireless.xml.in')
-rw-r--r--interface-definitions/interfaces_wireless.xml.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/interface-definitions/interfaces_wireless.xml.in b/interface-definitions/interfaces_wireless.xml.in
index dd2ae02bc..0f52812db 100644
--- a/interface-definitions/interfaces_wireless.xml.in
+++ b/interface-definitions/interfaces_wireless.xml.in
@@ -917,7 +917,7 @@
<description>Passphrase of at least 8 but not more than 63 printable characters for WPA-Personal and any passphrase for WPA-Enterprise</description>
</valueHelp>
<constraint>
- <regex>.*</regex>
+ <regex>[[:ascii:]]{1,256}</regex>
</constraint>
<constraintErrorMessage>Invalid WPA pass phrase, must be 8 to 63 printable characters!</constraintErrorMessage>
</properties>