Skip to content

Using '$' in API token breaks .env file parsing (sorta) #28

@Zee-Series-AI

Description

@Zee-Series-AI

I am storing my API Tokens in a .env file.
I am using Bun, but I believe this applies to any .env file parser, the '$' is reserved for substitution and this causes issues when using the API Token without escaping every single '$' character.

The use of the '$' character breaks .env file parsing. I have to manually escape all '$' with a '' for the token to be usable.

Bun reference: https://bun.sh/docs/runtime/env

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