diff options
-rw-r--r-- | ci-web/Cargo.toml | 2 | ||||
-rw-r--r-- | ci-web/src/bin/cgi.rs | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/ci-web/Cargo.toml b/ci-web/Cargo.toml index 6cadcf7..a85cbba 100644 --- a/ci-web/Cargo.toml +++ b/ci-web/Cargo.toml @@ -8,7 +8,7 @@ edition = "2021" [dependencies] cgi = "0.6" -git2 = "0.14" +git2 = "0.16" querystring = "1.1.0" multimap = "0.8.3" die = "0.2.0" diff --git a/ci-web/src/bin/cgi.rs b/ci-web/src/bin/cgi.rs index e0776c5..8ec072b 100644 --- a/ci-web/src/bin/cgi.rs +++ b/ci-web/src/bin/cgi.rs @@ -330,6 +330,11 @@ cgi::cgi_main! {|request: cgi::Request| -> cgi::Response { ktestrc.ci_output_dir)); } + unsafe { + git2::opts::set_verify_owner_validation(false) + .expect("set_verify_owner_validation should never fail"); + } + let repo = git2::Repository::open(&ktestrc.ci_linux_repo); if let Err(e) = repo { return error_response(format!("error opening repository {:?}: {}", ktestrc.ci_linux_repo, e)); |