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

exclamation mark in password is swallowed by sbt.bat #3139

Open
vincent-fuchs opened this issue Apr 24, 2017 · 0 comments
Open

exclamation mark in password is swallowed by sbt.bat #3139

vincent-fuchs opened this issue Apr 24, 2017 · 0 comments
Labels
area/proxy_network uncategorized Used for Waffle integration

Comments

@vincent-fuchs
Copy link

steps

I have configured my proxy related config in sbtconfig.txt - my password contains an exclamation mark

-Dhttps.proxyHost=myProxy
-Dhttps.proxyPort=8080
-Dhttps.proxyUser=vincent
-Dhttps.proxyPassword=MyPasswordHas!ExclamationMark

problem

When I launch sbt and check the logs, I see the exclamation mark has disappeared :

setting 'https.proxyPassword' to 'MyPasswordHasExclamationMark'

expectation

The password should be used by SBT as configured. This issue is particularly tricky, as no message in the log says that proxy authentication failed.

notes

This thread seems to show a related issue, that has to do with the @SETLOCAL enabledelayedexpansion that is used at the beginning of sbt.bat :
http://stackoverflow.com/questions/3288552/how-can-i-escape-an-exclamation-mark-in-cmd-scripts

I've tried to update the password to various values, with carrets and/or quotes, but I haven't been able to find the right combination.

@eed3si9n eed3si9n added the uncategorized Used for Waffle integration label Sep 18, 2018
@eed3si9n eed3si9n removed the x/waffle label Nov 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/proxy_network uncategorized Used for Waffle integration
Projects
None yet
Development

No branches or pull requests

2 participants