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

Escape Char not working for passwords with trailing quote #1662

Open
Srv-02 opened this Issue Jul 26, 2018 · 0 comments

Comments

2 participants
@Srv-02
Copy link

Srv-02 commented Jul 26, 2018

Versions

ConEmu build: 180626x64
OS version: Windows 10 x64 1803
Used shell version (Far Manager, git-bash, cmd, powershell, cygwin, whatever): cmd

Problem description

When creating a task, passwords that end with a quote " are not escaped properly with ^and give a false password error e.g. -cur_console:u:".\test:Abc0123^"" cmd

Steps to reproduce

  1. Create local user with a password that ends with "
  2. Create a new ConEmu Task an run as the created user and escape the " with ^
  3. Start the Task

Actual results

Can't create new console, command execution failed (code 1326)
The user name or password is incorrect.

"C:\Program Files\ConEmu\ConEmu\ConEmuC64.exe" /OMITHOOKSWARN /CINMODE:600020 /AID=17928 /GID=23764 /GHWND=001518B2 /BW=240 /BH=59 /BZ=32766 "/FN=Lucida Console" /FW=3 /FH=5 /TA=10100007 /HIDE /ROOT cmd

Working folder:
"C:"

Choose your shell?

[Yes| [No]

Expected results

Console is being opened without error.

@Maximus5 Maximus5 added this to To Do in ConEmu via automation Jul 26, 2018

@Maximus5 Maximus5 moved this from To Do to Ready for Testing in ConEmu Jul 26, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment