brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From neykov <>
Subject [GitHub] brooklyn-server issue #554: Ensured the \n character is escaped when escapin...
Date Thu, 09 Feb 2017 15:38:15 GMT
Github user neykov commented on the issue:
    @Graeme-Miller That's one of the scenarios where adding a new line will lead to unexpected
    export BROOKLYN_CFG_ADDITIONS=" = test_ident\
= test_key"
    results in
    ``` = test_ident\
= test_key
    So same thing repeated verbatim.
    It's possible to get a new line out of it by using `printf "BROOKLYN_CFG_ADDITIONS"`.
    Wonder which one is better - failing early (when trying to serialise) or escaping the
new line. Current behaviour is worst - could easily be exploited. Given this I'm inclined
to merge the PR and then discuss improvements.

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message