hugo/config/security
David Karlsson 6c9ea022a9
config: Expand default security.exec.osEnv policy
To better support private Hugo modules and automatically
launching a text editor on content creation, this change
adds the following environment variables to the default
security policy:

- HOME
- XDG_CONFIG_HOME
- USERPROFILE
- SSH_AUTH_SOCK
- DISPLAY
- LANG

Fixes #9333
2023-07-07 13:54:06 +02:00
..
docshelper.go Add some basic security policies with sensible defaults 2021-12-16 09:40:22 +01:00
securityConfig.go config: Expand default security.exec.osEnv policy 2023-07-07 13:54:06 +02:00
securityConfig_test.go config: Expand default security.exec.osEnv policy 2023-07-07 13:54:06 +02:00
whitelist.go Don't panic on invalid security whitelist regexp 2023-06-28 08:57:28 +02:00
whitelist_test.go Don't panic on invalid security whitelist regexp 2023-06-28 08:57:28 +02:00