Skip to content

Bugs in parser around unquoted whitespace and newlines in v1.5.0 #204

Closed
@andreynering

Description

@andreynering

Hi there!

I'd just like to let you know that the following, which worked on v1.4.0, now breaks in v1.5.0:

MY_ENV=foo bar

It's possible to fix by wrapping into quotes, though:

MY_ENV="foo bar"

As there isn't any official dotenv specification (AFAIK), I'm not sure if the former is supposed to work in the first place, but it caught my attention and I decided to wait until at least we have a decision if this is going to be addressed or not before upgrading, because it can end up breaking for my users.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions