Skip to content

Commit

Permalink
openvpn export, advancedoptions shouldn't be escaped https://forum.op…
Browse files Browse the repository at this point in the history
  • Loading branch information
AdSchellevis committed Feb 3, 2017
1 parent d4cf6d1 commit 012d0b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/www/vpn_openvpn_export.php
Original file line number Diff line number Diff line change
Expand Up @@ -1171,7 +1171,7 @@ function openvpn_client_export_find_hostname($interface)
} else {
params['openvpnmanager'] = 0;
}
params['advancedoptions'] = escape($("#advancedoptions").val());
params['advancedoptions'] = $("#advancedoptions").val();
params['verifyservercn'] = $("#verifyservercn").val();
if ($(this).data('type') == 'cert') {
params['crtid'] = $(this).data('id');
Expand Down

0 comments on commit 012d0b9

Please sign in to comment.