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

docs: passwords and PATs can need quoting on the command line #226

Open
jacalata opened this issue Feb 2, 2023 · 0 comments
Open

docs: passwords and PATs can need quoting on the command line #226

jacalata opened this issue Feb 2, 2023 · 0 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@jacalata
Copy link
Contributor

jacalata commented Feb 2, 2023

If a password or PAT has certain special tokens, they will be interpreted by the command line and not correctly sent to the server.

e.g: the character ^ is an escape character when read by windows cmd. To use this, you must escape it by enclosing in double quotes or with itself. e.g the username tom^harry can be used like this

  1. --username "tom^harry"
  2. --username tom^^harry

other values to check: + ;/....

https://ss64.com/nt/syntax-esc.html

@jacalata jacalata changed the title passwords and PATs can need quoting on the command line docs: passwords and PATs can need quoting on the command line Feb 3, 2023
@jacalata jacalata added the documentation Improvements or additions to documentation label Feb 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants