Skip to content
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

Merged
merged 8 commits into from
Sep 15, 2015
Merged

Mr #169

merged 8 commits into from
Sep 15, 2015

Conversation

mklette
Copy link
Contributor

@mklette mklette commented Jul 14, 2015

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

@@ -264,9 +302,10 @@
notify => Exec["generate ${name}.ovpn in ${server}"],
}

$name_escaped = regsubst(regsubst($name, '\.', '\\.', 'G'), '@', '\\@', 'G')
Copy link
Contributor

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?

  • . => \.
  • @ => \@

Copy link
Contributor Author

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.

@luxflux
Copy link
Contributor

luxflux commented Jul 14, 2015

Thanks, @mklette. I added some comments inline, looking forward to your replies.

@earsdown
Copy link

The tls-cipher feature would be nice.... but I guess that's what $custom_options is for...

luxflux added a commit that referenced this pull request Sep 15, 2015
@luxflux luxflux merged commit c21222b into voxpupuli:master Sep 15, 2015
@luxflux
Copy link
Contributor

luxflux commented Sep 15, 2015

Thank you, @mklette!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants