6
0
Fork 0
This repository has been archived on 2024-10-15. You can view files and clone it, but cannot push or open issues or pull requests.
fediversity_website_archive/config/_default/security.toml
fd0-nl e0b540a0a9
'^rst2html.py$' toegevoegd aan security.exec.allow
Dit is met name belangrijk voor Mac gebruikers, die macports gebruiken
2023-06-14 15:48:06 +02:00

17 lines
511 B
TOML

# Configuratie tbv extra beveiliging en toegestane functies tijdens render en testen
enableInlineShortcodes = false
[exec]
allow = ['^dart-sass-embedded$', '^go$', '^npx$', '^postcss$', '^rst2html$', '^rst2html.py$']
osEnv = ['(?i)^((HTTPS?|NO)_PROXY|PATH(EXT)?|APPDATA|TE?MP|TERM|GO\w+|GIT_EXEC_PATH|LD_LIBRARY_PATH|npm_config_(cache|init_module|userconfig)|pandoc_datadir|PYTHONHOME|RUBYLIB|SNAP)$']
[funcs]
getenv = ['^HUGO_', '^CI$']
[http]
methods = ['(?i)GET|POST']
urls = ['.*']
# EOF