Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.env values incorrectly loaded when '=' is in the value string #23013

Closed
avramdjo opened this issue Mar 1, 2024 · 1 comment
Closed

.env values incorrectly loaded when '=' is in the value string #23013

avramdjo opened this issue Mar 1, 2024 · 1 comment
Assignees
Labels
info-needed Issue requires more information from poster triage-needed Needs assignment to the proper sub-team

Comments

@avramdjo
Copy link

avramdjo commented Mar 1, 2024

Type: Bug

Behaviour

Expected vs. Actual

expected:

$ echo $A
B=C

actual:

$ echo $A
B

Steps to reproduce:

create an .env file within the workspace as follows:

A="B=C"

After opening a terminal session within vscode, and automatically loading the .venv, the .env file is automatically sourced as well.

Diagnostic data

  • Python version (& distribution if applicable, e.g. Anaconda): 3.10.12
  • Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): Poetry
  • Value of the python.languageServer setting: Default
Output for Python in the Output panel (ViewOutput, change the drop-down the upper-right of the Output panel to Python)

XXX

User Settings


languageServer: "Pylance"

Extension version: 2024.2.1
VS Code version: Code 1.87.0 (019f4d1419fbc8219a181fab7892ebccf7ee29a2, 2024-02-27T23:41:44.469Z)
OS version: Windows_NT x64 10.0.22631
Modes:
Remote OS version: Linux x64 5.15.133.1-microsoft-standard-WSL2

System Info
Item Value
CPUs 12th Gen Intel(R) Core(TM) i7-12700F (20 x 2112)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
Load (avg) undefined
Memory (System) 31.85GB (16.35GB free)
Process Argv --crash-reporter-id 3b45d14f-8197-46e1-9fae-b4a8ecd66e93
Screen Reader no
VM 0%
Item Value
Remote WSL: Ubuntu-Work
OS Linux x64 5.15.133.1-microsoft-standard-WSL2
CPUs 12th Gen Intel(R) Core(TM) i7-12700F (20 x 2112)
Memory (System) 15.54GB (13.10GB free)
VM 0%
@github-actions github-actions bot added the triage-needed Needs assignment to the proper sub-team label Mar 1, 2024
@karrtikr
Copy link

karrtikr commented Mar 4, 2024

This is actually an issue on VS Code. Closing as duplicate of microsoft/vscode#197603, please like/comment that to raise priority.

@karrtikr karrtikr closed this as not planned Won't fix, can't repro, duplicate, stale Mar 4, 2024
@github-actions github-actions bot added the info-needed Issue requires more information from poster label Mar 4, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
info-needed Issue requires more information from poster triage-needed Needs assignment to the proper sub-team
Projects
None yet
Development

No branches or pull requests

2 participants