Skip to content

Special characters in .env variables not correctly escaped #78014

@alsteven

Description

@alsteven

Essentially the same as issue #50302, seems like you missed escaping a character.

  • VSCode Version: 1.36.1
  • OS Version: Windows 10

Steps to Reproduce:

  1. Set up any python project
  2. Create a .env file with BUG=HELLO>LOOKAFILE
  3. Start debugging

The ">" character is not correctly escaped and will cause a file that begins with "LOOKAFILE" to be created in the current directory.

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugdebugDebug viewlet, configurations, breakpoints, adapter issuesverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions