OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 16.7 Legacy Series »
  • [SOLVED] OpenVPN client export does not unescape strings
« previous next »
  • Print
Pages: [1]

Author Topic: [SOLVED] OpenVPN client export does not unescape strings  (Read 4476 times)

woo

  • Newbie
  • *
  • Posts: 28
  • Karma: 3
    • View Profile
[SOLVED] OpenVPN client export does not unescape strings
« on: February 03, 2017, 03:17:42 pm »
Not sure if this is still relevant so shortly before 17.x, but I just noticed that the OpenVPN Client Export feature does not un-escape strings from the "additional config options" box.
I tried to put in the "reneg-sec 0" option there, which ended up in the ovpn file as "reneg-sec%200" with the space still web-encoded.
« Last Edit: February 06, 2017, 09:01:50 am by franco »
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13906
  • Karma: 1206
    • View Profile
Re: OpenVPN client export does not unescape strings
« Reply #1 on: February 06, 2017, 09:01:43 am »
Hi woo,

Fixed and part of the upcoming 17.1.1: https://github.com/opnsense/core/commit/012d0b90

To apply locally:

# opnsense-patch 012d0b90


Cheers,
Franco
Logged

woo

  • Newbie
  • *
  • Posts: 28
  • Karma: 3
    • View Profile
Re: [SOLVED] OpenVPN client export does not unescape strings
« Reply #2 on: February 07, 2017, 12:17:17 pm »
works now - thanks a lot :)
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 16.7 Legacy Series »
  • [SOLVED] OpenVPN client export does not unescape strings
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2