git: 826d39cdc4 - main - Allow git command
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 19 Aug 2024 15:58:01 UTC
The branch main has been updated by fernape: URL: https://cgit.FreeBSD.org/doc/commit/?id=826d39cdc4921ba5fce1780cfeeb116da0f0f556 commit 826d39cdc4921ba5fce1780cfeeb116da0f0f556 Author: Fernando Apesteguía <fernape@FreeBSD.org> AuthorDate: 2024-08-19 15:44:38 +0000 Commit: Fernando Apesteguía <fernape@FreeBSD.org> CommitDate: 2024-08-19 15:57:41 +0000 Allow git command Use the default configuration as show in the Hugo site: https://gohugo.io/about/security/#security-policy Necessary for the upcoming update to hugo 0.133.0 --- documentation/config/_default/hugo.toml | 2 +- website/config/_default/hugo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/documentation/config/_default/hugo.toml b/documentation/config/_default/hugo.toml index a7548e54b9..7f26c2bdc3 100644 --- a/documentation/config/_default/hugo.toml +++ b/documentation/config/_default/hugo.toml @@ -24,7 +24,7 @@ timeout = "180s" [security] enableInlineShortcodes = false [security.exec] - allow = ["^dart-sass-embedded$", "^go$", "^npx$", "^postcss$", "^asciidoctor$"] + allow = ["^dart-sass-embedded$", "^go$", "^git$", "^npx$", "^postcss$", "^asciidoctor$"] osEnv = ["(?i)^(PATH|PATHEXT|APPDATA|TMP|TEMP|TERM|LOAD_PATH|RUBYLIB)$"] [security.funcs] getenv = ["^HUGO_"] diff --git a/website/config/_default/hugo.toml b/website/config/_default/hugo.toml index c4668b9791..0c1d93f723 100644 --- a/website/config/_default/hugo.toml +++ b/website/config/_default/hugo.toml @@ -21,7 +21,7 @@ preserveTOC = true [security] enableInlineShortcodes = false [security.exec] - allow = ["^dart-sass-embedded$", "^go$", "^npx$", "^postcss$", "^asciidoctor$"] + allow = ["^dart-sass-embedded$", "^go$", "^git$", "^npx$", "^postcss$", "^asciidoctor$"] osEnv = ["(?i)^(PATH|PATHEXT|APPDATA|TMP|TEMP|TERM|LOAD_PATH|RUBYLIB)$"] [security.funcs] getenv = ["^HUGO_"]