# HG changeset patch # User Franklin Schmidt # Date 1696217794 21600 # Node ID 50a1fe272c109e4959cb036a37b6118a4d518d81 # Parent a6e72cd199f1b98b5f919d7d704b75fe8cfaf5db more security diff -r a6e72cd199f1 -r 50a1fe272c10 update_repositories.luan --- a/update_repositories.luan Sun Oct 01 19:53:46 2023 -0600 +++ b/update_repositories.luan Sun Oct 01 21:36:34 2023 -0600 @@ -108,7 +108,7 @@ do local writer = nginx_dir.child("_all.pass").text_writer() for user, password in pairs(config.users) do - local htpasswd = uri("bash:htpasswd -nb "..user.." "..password).read_text() + local htpasswd = uri("bash:htpasswd -nb '"..user.."' '"..password.."'").read_text() htpasswd = trim(htpasswd) print_to( writer, htpasswd ) htpasswds[user] = htpasswd