diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2022-08-26 14:53:58 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2022-08-26 18:30:46 +0200 |
commit | fd75f129b2fc9a4df8194523e336c8760d82948b (patch) | |
tree | 7a4b1427652e93218d8341927ca70f72ba4d0244 /config | |
parent | 14878ca0a062652f0ca000ddfca3c8fe87e584a1 (diff) |
deps: Update github.com/pelletier/go-toml/v2 v2.0.2 => v2.0.4
Closes #10210
Diffstat (limited to 'config')
-rw-r--r-- | config/security/securityonfig_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/security/securityonfig_test.go b/config/security/securityonfig_test.go index d0416a20d..24190a57f 100644 --- a/config/security/securityonfig_test.go +++ b/config/security/securityonfig_test.go @@ -140,7 +140,7 @@ func TestToTOML(t *testing.T) { got := DefaultConfig.ToTOML() c.Assert(got, qt.Equals, - "[security]\n enableInlineShortcodes = false\n [security.exec]\n allow = ['^dart-sass-embedded$', '^go$', '^npx$', '^postcss$']\n osEnv = ['(?i)^(PATH|PATHEXT|APPDATA|TMP|TEMP|TERM)$']\n\n [security.funcs]\n getenv = ['^HUGO_']\n\n [security.http]\n methods = ['(?i)GET|POST']\n urls = ['.*']", + "[security]\n enableInlineShortcodes = false\n\n [security.exec]\n allow = ['^dart-sass-embedded$', '^go$', '^npx$', '^postcss$']\n osEnv = ['(?i)^(PATH|PATHEXT|APPDATA|TMP|TEMP|TERM)$']\n\n [security.funcs]\n getenv = ['^HUGO_']\n\n [security.http]\n methods = ['(?i)GET|POST']\n urls = ['.*']", ) } |