From 27c29036030edf1861258d49ab9ef3f2a5a6dae8 Mon Sep 17 00:00:00 2001 From: Mohit Mehta Date: Wed, 14 May 2008 20:03:39 +0000 Subject: Bug 3194 VPN: xml error in "show vpn ike" command output - looks like the '&' special character is causing this behavior - quick fix: disallowed use of '&' in pre-shared-secret for now --- .../peer/node.tag/authentication/pre-shared-secret/node.def | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/vpn') diff --git a/templates/vpn/ipsec/site-to-site/peer/node.tag/authentication/pre-shared-secret/node.def b/templates/vpn/ipsec/site-to-site/peer/node.tag/authentication/pre-shared-secret/node.def index 330cffe..ce19672 100644 --- a/templates/vpn/ipsec/site-to-site/peer/node.tag/authentication/pre-shared-secret/node.def +++ b/templates/vpn/ipsec/site-to-site/peer/node.tag/authentication/pre-shared-secret/node.def @@ -1,3 +1,3 @@ help: Set pre-shared secret key type: txt -syntax:expression: pattern $VAR(@) "^[\!\@\#\$\%\^\&\*\(\)-_a-zA-Z0-9.]+$" ; "invalid pre-shared secret key \"$VAR(@)\"" +syntax:expression: pattern $VAR(@) "^[-\!\@\#\$\%\^\*\(\)\,\.\?\:\;_a-zA-Z0-9]+$" ; "invalid pre-shared secret key \"$VAR(@)\"" -- cgit v1.2.3