Skip to content

Commit

Permalink
Merge pull request #295 from criteo-forks/escape_http_acl_user
Browse files Browse the repository at this point in the history
Escape http_acl user in shellout
  • Loading branch information
mwrock committed Nov 17, 2015
2 parents e7dfa42 + d4be822 commit 62cfc76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion providers/http_acl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def getCurrentAcl
end

def setAcl
shell_out!("#{@command} http add urlacl url=#{@new_resource.url} user=#{@new_resource.user}")
shell_out!("#{@command} http add urlacl url=#{@new_resource.url} user=\"#{@new_resource.user}\"")
end

def deleteAcl
Expand Down

0 comments on commit 62cfc76

Please sign in to comment.