Skip to content

Binding to ENV variables fails needlessly on unresolved placeholders #108

@timsporcic

Description

@timsporcic

My Spring Boot application was failing on OS X due to an environment variable in .bash_profile that made use of the ${ pattern. The initialization process was attempting to perform token substitution of a perceived variable, and it blew up.

The environment variable that broke me is PROMPT_COMMAND, where it is legal for the string to contain variables that use the same format as SPEL.

Any easy fix would be to have the initialization process explicitly ignore known troublesome environment variables (PROMPT_COMMAND).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions