[
https://issues.apache.org/jira/browse/GUACAMOLE-2235?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zadkiel Aharonian updated GUACAMOLE-2235:
-----------------------------------------
Description: The "Configuring Guacamole" manual currently states that
environment variables are created by uppercasing the property name and
replacing dashes with underscores. In practice, Guacamole also inserts
underscores between word/number boundaries and splits camelCase into separate
words. This can lead to unexpected env var names and misconfiguration (example:
{{oauth2-property}} maps to {{{}OAUTH_2_PROPERTY{}}}, not
{{{}OAUTH2_PROPERTY{}}}; {{myURLProperty}} maps to {{{}MY_URL_PROPERTY{}}}).
Please update the manual text to describe the full naming behavior and include
these examples. (was: The "Configuring Guacamole" manual currently states that
environment variables are created by uppercasing the property name and
replacing dashes with underscores. In practice, Guacamole also inserts
underscores between word/number boundaries and splits camelCase into separate
words. This can lead to unexpected env var names and misconfiguration (example:
{{oauth2-client-id}} maps to {{{}OAUTH_2_CLIENT_ID{}}}, not
{{{}OAUTH2_CLIENT_ID{}}}; {{myURLProperty}} maps to {{{}MY_URL_PROPERTY{}}}).
Please update the manual text to describe the full naming behavior and include
these examples.
)
> Clarify environment variable naming rules in configuring-guacamole manual
> -------------------------------------------------------------------------
>
> Key: GUACAMOLE-2235
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-2235
> Project: Guacamole
> Issue Type: Improvement
> Reporter: Zadkiel Aharonian
> Priority: Minor
>
> The "Configuring Guacamole" manual currently states that environment
> variables are created by uppercasing the property name and replacing dashes
> with underscores. In practice, Guacamole also inserts underscores between
> word/number boundaries and splits camelCase into separate words. This can
> lead to unexpected env var names and misconfiguration (example:
> {{oauth2-property}} maps to {{{}OAUTH_2_PROPERTY{}}}, not
> {{{}OAUTH2_PROPERTY{}}}; {{myURLProperty}} maps to {{{}MY_URL_PROPERTY{}}}).
> Please update the manual text to describe the full naming behavior and
> include these examples.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)