Skip to content

Commit

Permalink
Merge pull request voxpupuli#804 from Spechal/master
Browse files Browse the repository at this point in the history
Resolving issue voxpupuli#803 by adding quotes around the parameters
  • Loading branch information
3flex committed May 13, 2016
2 parents 32bc1da + 57cfae3 commit 8d6d7fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion templates/vhost/vhost_header.erb
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ server {
<% end -%>
<% if @add_header -%>
<%- @add_header.keys.sort.each do |key| -%>
add_header <%= key %> <%= @add_header[key] %>;
add_header '<%= key %>' '<%= @add_header[key] %>';
<%- end -%>
<% end -%>
<% if @maintenance -%>
Expand Down
2 changes: 1 addition & 1 deletion templates/vhost/vhost_ssl_header.erb
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,6 @@ server {
<% end -%>
<% if @add_header -%>
<%- @add_header.keys.sort.each do |key| -%>
add_header <%= key %> <%= @add_header[key] %>;
add_header '<%= key %>' '<%= @add_header[key] %>';
<%- end -%>
<% end -%>

0 comments on commit 8d6d7fa

Please sign in to comment.