-
-
Notifications
You must be signed in to change notification settings - Fork 197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mr #169
Mr #169
Conversation
* openssl version 1.0.1-4 (precise) shows 'error 23' but exits with 0 * openssl version 1.0.1f (trusty) shows 'error 23' but exits with 2
@@ -264,9 +302,10 @@ | |||
notify => Exec["generate ${name}.ovpn in ${server}"], | |||
} | |||
|
|||
$name_escaped = regsubst(regsubst($name, '\.', '\\.', 'G'), '@', '\\@', 'G') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do I understand this line correctly as that the following replacements will be done?
.
=>\.
@
=>\@
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is true.
It was required for us as we use full e-mail addresses in resource title. The former version works fine as long as simple user names are used (plain alphanumeric). In our case, Perl's regular expression handling would treat those characters special and in turns wont match properly.
Thanks, @mklette. I added some comments inline, looking forward to your replies. |
The tls-cipher feature would be nice.... but I guess that's what $custom_options is for... |
Thank you, @mklette! |
Hi,
may I kindly ask you for reviewing these changes? Please let me know of any doubts you may have about merging and I'll try to complete the changes.
Thanks
Mathias