[ 
https://issues.apache.org/jira/browse/HDDS-6125?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated HDDS-6125:
---------------------------------
    Labels: pull-request-available  (was: )

> Support Hugo 0.91.0
> -------------------
>
>                 Key: HDDS-6125
>                 URL: https://issues.apache.org/jira/browse/HDDS-6125
>             Project: Apache Ozone
>          Issue Type: Bug
>            Reporter: Wei-Chiu Chuang
>            Assignee: Wei-Chiu Chuang
>            Priority: Major
>              Labels: pull-request-available
>
> I updated Hugo to the latest 0.91.0 and got an error building Ozone:
> {noformat}
> ERROR 2021/12/20 14:44:10 render of "page" failed: execute of template 
> failed: template: _default/single.html:60:5: executing "_default/single.html" 
> at <partial "footer.html" .>: error calling partial: 
> "/Users/weichiu/sandbox/ozone/hadoop-hdds/docs/themes/ozonedoc/layouts/partials/footer.html:21:18":
>  execute of template failed: template: partials/footer.html:21:18: executing 
> "partials/footer.html" at <getenv "OZONE_VERSION">: error calling getenv: 
> access denied: "OZONE_VERSION" is not whitelisted in policy 
> "security.funcs.getenv"; the current security configuration is:
> [security]
>   enableInlineShortcodes = false
>   [security.exec]
>     allow = ['^dart-sass-embedded$', '^go$', '^npx$', '^postcss$']
>     osEnv = ['(?i)^(PATH|PATHEXT|APPDATA|TMP|TEMP|TERM)$']
>   [security.funcs]
>     getenv = ['^HUGO_']
>   [security.http]
>     methods = ['(?i)GET|POST']
>     urls = ['.*']
> {noformat}
> this is a new security feature added in Hugo 0.91.0 to restrict access to 
> system environment variables [https://gohugo.io/about/security-model/]



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to