Skip to content

dotenv extension does not support multiline values #651

@pejter

Description

@pejter

Usually .env files are allowed to contain new lines if the value is surrounded by double quotes. The simple line splitting that dotenv does not support that case.

Minimal reproduction case:
.env

TEST="some
text"

Result is an error Error in fail: Invalid format for dotenv file: ..., while the file should be parsed correctly and put TEST="some\ntext" in the environment.

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