summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-07-05 06:44:04 +0000
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-09-19 07:00:30 +0000
commitc8f116c251e5ab91b518533f595c6efd66b9c392 (patch)
treef3ccd11e274750c40f53581d5aa618982a933f2d /interface-definitions
parentd50526477ed510a011935747f18bd6b4ec3ec2f1 (diff)
downloadvyos-1x-c8f116c251e5ab91b518533f595c6efd66b9c392.tar.gz
vyos-1x-c8f116c251e5ab91b518533f595c6efd66b9c392.zip
wireless: T6496: use ascii regex for WPA passphrase constraint
(cherry picked from commit 5a6ac65fe0684fc5298de3daa8582294ac387b46)
Diffstat (limited to 'interface-definitions')
-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 c1a101ee8..7016eaa24 100644
--- a/interface-definitions/interfaces_wireless.xml.in
+++ b/interface-definitions/interfaces_wireless.xml.in
@@ -953,7 +953,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>