snap: Restore security.exec.osenv whitelist - hugo - [fork] hugo port for 9front
HTML git clone git@git.drkhsh.at/hugo.git
DIR Log
DIR Files
DIR Refs
DIR Submodules
DIR README
DIR LICENSE
---
DIR commit 3c8256a137d447dee15645a9a8ded7d3cf68add2
DIR parent 19d76ae96be1e86c5eb3b0f0dff1161082b3ad82
HTML Author: Joe Mooring <joe@mooring.com>
Date: Sat, 1 Jul 2023 14:55:57 -0700
snap: Restore security.exec.osenv whitelist
Fixes #11195
Diffstat:
M snap/snapcraft.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
@@ -98,7 +98,7 @@ parts:
echo " - pandoc_datadir to be passed to pandoc"
echo " - PYTHONHOME and SNAP to be passed to rst2html"
echo " - RUBYLIB to be passed to asciidoctor"
- sed -i '/OsEnv: NewWhitelist/s/)\$/|GIT_EXEC_PATH|LD_LIBRARY_PATH|npm_config_(cache|init_module|userconfig)|pandoc_datadir|PYTHONHOME|RUBYLIB|SNAP&/' config/security/securityConfig.go
+ sed -i '/OsEnv: MustNewWhitelist/s/)\$/|GIT_EXEC_PATH|LD_LIBRARY_PATH|npm_config_(cache|init_module|userconfig)|pandoc_datadir|PYTHONHOME|RUBYLIB|SNAP&/' config/security/securityConfig.go
git diff config/security/securityConfig.go
HUGO_BUILD_TAGS="extended"