Skip to content

The parse() does not handle keys with JSON values containing double-quotes #229

@kamyar-nemati

Description

@kamyar-nemati

Given the ENV file below:

---env begins here---

APP_NAME=FooBar
APP_COMM_CRED="[{"key":"foo"},{"key":"bar"}]"

---env ends here---

The JSON value of APP_COMM_CRED is deformed and the "key" attributes lose their double-quotes after performing the parse function.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugBroken or unexpected

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions