mirror of
https://gerrit.googlesource.com/git-repo
synced 2026-05-07 03:28:31 +00:00
Add rpc: to default protocol whitelist
Change-Id: I57e1c3d93c0ce56da9c487df65eb3d258e0260e8
This commit is contained in:
+1
-1
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user