mirror of
https://gerrit.googlesource.com/git-repo
synced 2024-12-21 07:16:21 +00:00
Add rpc: to default protocol whitelist
Change-Id: I57e1c3d93c0ce56da9c487df65eb3d258e0260e8
This commit is contained in:
parent
4cfb6d7167
commit
203153e7bb
@ -170,7 +170,7 @@ class GitCommand(object):
|
|||||||
_setenv(env, 'GIT_CONFIG_PARAMETERS', s)
|
_setenv(env, 'GIT_CONFIG_PARAMETERS', s)
|
||||||
if 'GIT_ALLOW_PROTOCOL' not in env:
|
if 'GIT_ALLOW_PROTOCOL' not in env:
|
||||||
_setenv(env, 'GIT_ALLOW_PROTOCOL',
|
_setenv(env, 'GIT_ALLOW_PROTOCOL',
|
||||||
'file:git:http:https:ssh:persistent-http:persistent-https:sso')
|
'file:git:http:https:ssh:persistent-http:persistent-https:sso:rpc')
|
||||||
|
|
||||||
if project:
|
if project:
|
||||||
if not cwd:
|
if not cwd:
|
||||||
|
Loading…
Reference in New Issue
Block a user