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

[Issue] azd env set adds a / character to value #511

Open
1 task done
greenie-msft opened this issue Aug 22, 2022 · 6 comments
Open
1 task done

[Issue] azd env set adds a / character to value #511

greenie-msft opened this issue Aug 22, 2022 · 6 comments
Labels
Milestone

Comments

@greenie-msft
Copy link

greenie-msft commented Aug 22, 2022

Output from azd version
Run azd version and copy and paste the output here:

azd version 0.1.0-beta.4 (commit fd96b3e)

Output from az version
Run az version and copy and paste the output here (minimum required version is 2.38.0):

azd version 0.1.0-beta.4 (commit fd96b3e)

Describe the bug
When running the CLI command azd env set, the value that's added to the .env file has a "" character before a special character, such as a !

To Reproduce
Steps to reproduce the behavior...
Run the azd env set CLI command

Expected behavior
The azd env set command should take the input and add it to the .env as entered from the user.

@jongio
Copy link
Member

jongio commented Aug 22, 2022

Wasn't it a trailing ""?

@greenie-msft
Copy link
Author

greenie-msft commented Aug 23, 2022

@jongio actually when the env variable included a special character, for example !, it was adding a \ before it.

@rajeshkamal5050 rajeshkamal5050 added this to the Backlog milestone Aug 24, 2022
@savannahostrowski
Copy link

@greenie-msft Does this still repro?

@rajeshkamal5050
Copy link
Contributor

@v-xuto can you see if this is still reproducible?

@Menghua1
Copy link
Member

Menghua1 commented Nov 8, 2024

@rajeshkamal5050 This issue can be reproduced, and we started trying to fix it.

@Menghua1
Copy link
Member

@rajeshkamal5050 We have created this PR#4542 to fix this issue, please review it, thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants