Skip to content

Commit

Permalink
Fix a bug where command line arguments get interpolated
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveLTN committed Jan 17, 2024
1 parent f951915 commit b3c8bd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs_overlay/opt/certs_manager/lib/commands.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def ensure_dockerhost_in_hosts
def generate_ht_access(domains)
domains.each do |domain|
if domain.basic_auth_enabled?
system "htpasswd -bc #{domain.htaccess_path} #{domain.basic_auth_username} #{domain.basic_auth_password}"
system "htpasswd -bc '#{domain.htaccess_path}' '#{domain.basic_auth_username}' '#{domain.basic_auth_password}'"
end
end
end
Expand Down

0 comments on commit b3c8bd6

Please sign in to comment.