Commit 012d0b90 authored by Ad Schellevis's avatar Ad Schellevis

openvpn export, advancedoptions shouldn't be escaped...

openvpn export, advancedoptions shouldn't be escaped https://forum.opnsense.org/index.php?topic=4427.msg16748#msg16748
parent d4cf6d17
...@@ -1171,7 +1171,7 @@ include("head.inc"); ...@@ -1171,7 +1171,7 @@ include("head.inc");
} else { } else {
params['openvpnmanager'] = 0; params['openvpnmanager'] = 0;
} }
params['advancedoptions'] = escape($("#advancedoptions").val()); params['advancedoptions'] = $("#advancedoptions").val();
params['verifyservercn'] = $("#verifyservercn").val(); params['verifyservercn'] = $("#verifyservercn").val();
if ($(this).data('type') == 'cert') { if ($(this).data('type') == 'cert') {
params['crtid'] = $(this).data('id'); params['crtid'] = $(this).data('id');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment