[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

[Openvpn-users] setenv variables, value mangling (openvpn 1.6_rc3)


  • Subject: [Openvpn-users] setenv variables, value mangling (openvpn 1.6_rc3)
  • From: Harald Roelle <roeldom1@xxxxxxxxxxxxx>
  • Date: Thu, 8 Apr 2004 22:53:47 +0200

Hi *,

In openvpn 1.6_rc3, setting a variable using setenv, it looks like that the value given to the script's environment gets mangled.
Example:

In config file:
setenv testVar "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890 <>|,.-#+^;:_*~\!§$%&/()=?"

In script: 
echo "$testVar" > /tmp/lall

The file reads:
abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890......-....._......./..=.

Is this a bug or a feature?
Can this behaviour be influenced by an option?
Did I miss something?

Thanks in advance for any answer,

Harald Roelle


____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users