Project

General

Profile

Actions

Bug #12641

closed

OpenVPN GUI Config Editor removes newlines of "Custom options" field in parsing

Added by Sebastian Wagner over 2 years ago. Updated over 2 years ago.

Status:
Not a Bug
Priority:
Normal
Assignee:
-
Category:
OpenVPN
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
0.25 h
Release Notes:
Default
Affected Plus Version:
Affected Architecture:

Description

  1. Create an OpenVPN Server using the UI with multiple "custom options", e.g. two Push directives like
    push "dhcp-option DNS 10.0.0.53" 
    push "dhcp-option DNS 10.1.0.53" 
    
  2. Save the config
  3. Open the config
  4. The custom options lost its newlines:
    push "dhcp-option DNS 10.0.0.53"push "dhcp-option DNS 10.1.0.53" 
    
  5. -> Saving the config without correcting the error stops the OpenVPN server from starting

Using pfSense+ 21.05.2-RELEASE (not select-able in the drop-down here)


Related issues

Has duplicate Bug #13232: Restoring Config with OpenVPN Custom Options Removes Carriage ReturnsDuplicate

Actions
Actions #1

Updated by Jim Pingle over 2 years ago

  • Status changed from New to Not a Bug

This is expected behavior and not a bug. As stated in the text under that field and in the documentation, directives in that box must be separated by a semicolon.

Actions #2

Updated by Marcos M almost 2 years ago

  • Has duplicate Bug #13232: Restoring Config with OpenVPN Custom Options Removes Carriage Returns added
Actions

Also available in: Atom PDF