Skip to main content

hardened_cgi_env

Function hardened_cgi_env 

Source
pub fn hardened_cgi_env() -> Vec<(String, String)>
Expand description

Environment entries that harden an externally-spawned git program (the git-http-backend CGI) whose environment is built by hand. Uses git’s GIT_CONFIG_COUNT mechanism because the CGI cannot take -c flags.