Skip to content

Commit bad826d

Browse files
committed
fix git getter
1 parent d5725c7 commit bad826d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

get_git_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -624,6 +624,9 @@ func TestGitGetter_submodule(t *testing.T) {
624624

625625
// Set up the grandchild
626626
gc := testGitRepo(t, "grandchild")
627+
// Due to CVE-2022-39253 (https://github.blog/2022-10-18-git-security-vulnerabilities-announced/#cve-2022-39253)
628+
// we are allowing file transport globally.
629+
gc.git("config", "--global", "protocol.file.allow", "always")
627630
gc.commitFile("grandchild.txt", "grandchild")
628631

629632
// Set up the child

0 commit comments

Comments
 (0)