mirror of https://github.com/zulip/zulip.git
update-zuliprc-api-field: Add missing shell quoting.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
d751e0cece
commit
5a1104f1b8
|
@ -11,6 +11,7 @@ Usage:
|
|||
import argparse
|
||||
import configparser
|
||||
import os
|
||||
import shlex
|
||||
import subprocess
|
||||
import sys
|
||||
|
||||
|
@ -50,7 +51,7 @@ for zuliprc_path in zuliprc_paths_list:
|
|||
|
||||
if is_vagrant_env_host(ZULIP_PATH):
|
||||
arguments = ['vagrant', 'ssh', '--command',
|
||||
'./manage.py print_initial_password ' + email]
|
||||
'./manage.py print_initial_password ' + shlex.quote(email)]
|
||||
else:
|
||||
# Support users who don't have vagrant based setup
|
||||
arguments = ['./manage.py', 'print_initial_password', email]
|
||||
|
|
Loading…
Reference in New Issue