I have one setuped OpenVPN connection and trying to "clone" (export/import) them. If some files (for example, keys and certificates) have space in paths - it will not import correctly P.S. Sorry for my English Reproducible: Always Steps to Reproduce: 1. Create OpenVPN connection. Path to key or certificate must be with space. For example: ca /home/adept/Ubuntu One/openvpn/ca.crt 2. Export this connection. Check that in exported file path for ca.crt is correct 3. Import this connection. Path to ca will be: ca /home/adept/Ubuntu
You should quote any file name containing spaces, like this: ca "/home/adept/Ubuntu One/openvpn/ca.crt" space is the key/value delimeter so it cannot be used in the value part unless it is quoted.
Yes, I can edit exported file and quote filenames. But, maybe, export tool can do it for me?
Git commit 99447f718aa5294356b7394bd17b242635d7c489 by Lamarque V. Souza. Committed on 05/01/2013 at 21:34. Pushed by lvsouza into branch 'master'. Quote file names when exporting openvpn configuration file in case they contain white spaces in their file names. FIXED-IN: 0.9.0.7 M +7 -7 vpnplugins/openvpn/openvpn.cpp http://commits.kde.org/networkmanagement/99447f718aa5294356b7394bd17b242635d7c489
Git commit 1e46b934193ae7251de4e8e853aa4a76ee1e2d17 by Lamarque V. Souza. Committed on 05/01/2013 at 21:34. Pushed by lvsouza into branch 'nm09'. Quote file names when exporting openvpn configuration file in case they contain white spaces in their file names. FIXED-IN: 0.9.0.7 (cherry picked from commit 99447f718aa5294356b7394bd17b242635d7c489) M +7 -7 vpnplugins/openvpn/openvpn.cpp http://commits.kde.org/networkmanagement/1e46b934193ae7251de4e8e853aa4a76ee1e2d17