Skip to content

.env files feature does not support values with hash #7375

@wimsymons

Description

@wimsymons

I have checked the following:

  • I have searched existing issues and found nothing related to my issue.

This bug is:

  • making Bruno unusable for me
  • slowing me down but I'm able to continue working
  • annoying
  • this feature was working in a previous version but is broken in the current release.

Bruno version

3.1.4

Operating System

macOS 26.3 (25D125)

Describe the bug

Steps to reproduce:

  • Open a workspace
  • Go to Global Environments
  • Add a new .env file (or use any existing one)
  • Add a property with any name, and a value like "ABC#DEF"
  • Click Save

The table refreshes and shows "ABC" as value.

This makes passwords with a "#" inside it unusable.

The # character should be escaped or the values should be surrounded by double quotes upon save.

When editing the .env file outside Bruno and wrapping inside quotes they are shown correctly when Bruno is loaded. Only when you save from within Bruno it is broken again as the whole file is re-written without the surrounding quotes.

.bru file to reproduce the bug

No response

Screenshots/Live demo link

Not provided

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions