Project

General

Profile

Actions

Bug #9169

closed

carriage return handling in OpenVPN custom Options

Added by Daniel Berteaud over 5 years ago. Updated over 5 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
OpenVPN
Target version:
-
Start date:
12/05/2018
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.4.4_1
Affected Architecture:

Description

For one of my OpenVPN server, I use the custom options field to push routes to my client. Eg, I add

push "route 10.29.0.0 255.255.0.0"
push "route 192.168.20.0 255.255.255.0"
push "route 192.168.23.0 255.255.255.0"

Problem is, after saving, everything is fine, but if I edit the OpenVPN Server again, carriage returns in this fields are gone, everything is on a single line

push "route 10.29.0.0 255.255.0.0"push "route 192.168.20.0 255.255.255.0"push "route 192.168.23.0 255.255.255.0"

And if I save again, OpenVPN will fail. Same after a reboot, OpenVPN will fail to start. I have to go in edit the custom options field to add the carriage return back, and save

Actions

Also available in: Atom PDF