Skip to content

Escaping in AppD UPS #904

@brall77

Description

@brall77

Hello,

In our appd setup we use a PCF user provided for setting the node-name. In the configuration we use dynamic value similar to the tier-name example here:

Tier-$(expr "$VCAP_APPLICATION" : '.*instance_index[": ]*\([[:digit:]]*\).*')

From this example:
https://github.com/cloudfoundry/java-buildpack/blob/main/docs/framework-app_dynamics_agent.md

It no longer seems possible to put values in the UPS that are interpreted by the shell since version 4.39. I think this change prevents this:
7e8f8d8#diff-42cb59bb574adf07b1047cab6e4fb133a32ffd5a5f4ee5f76ad5528ee53372e5R111

Does this seem like it would be the case now? Is there any known workarounds to this issue?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions