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

Windows Powershell heroku config:set does not properly parse values containing & (ampersand) #1366

Open
JoBrad opened this issue Oct 28, 2019 · 0 comments

Comments

@JoBrad
Copy link

JoBrad commented Oct 28, 2019

What is the current behavior?

I'm running heroku/7.33.3 win32-x64 node-v11.14.0 on Windows, and heroku/7.33.3 linux-x64 node-v11.14.0 on Linux.

Try the command below with the Linux CLI:

heroku config:set SOME_VAR="a&,#a"

The result is a success:

Setting SOME_VAR and restarting ⬢ your-app-name... done, v41
SOME_VAR: a&,#a

Trying the same command with the Windows CLI tool results in an error, but improperly sets the SOME_VAR variable:

Setting SOME_VAR and restarting ⬢ your-app-name... done, v41
SOME_VAR: a
'#a' is not recognized as an internal or external command,
operable program or batch file.

I've tried this with single quotes, double quotes, and without quotes, with the same result.

What is the expected behavior?

I would expect the command to properly set the variable.

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

No branches or pull requests

1 participant