Bug 1467921

Summary: jboss-cli.bat is not connected if the password containts ! mark and username and password is given on the same line.
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Yogesh <yvedpath>
Component: CLIAssignee: jboss-set
Status: CLOSED EOL QA Contact: Peter Mackay <pmackay>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.4.16CC: brian.stansberry, jboss-set
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Windows   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-08-19 12:47:28 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Yogesh 2017-07-05 14:02:10 UTC
Description of problem:
Unable to connect to jboss-cli.bat with management user name and password is send on the same line, when password contains ! symbol. 

Version-Release number of selected component (if applicable):
Jboss EAP 6.4.16

How reproducible:


Steps to Reproduce:
1.Create user with add-user.bat with username as admin & password as admin@123!

2.Execute the command "jboss-cli.bat -c --user=admin --password=yogesh@123! --controller=localhost:9999"

Actual results:
Unable to connect to jboss-cli.bat

Expected results:
jboss-cli.bat should be connected. 

Additional info:
If password is given separately with the following command connection is established. 
jboss-cli.bat -c --user=admin --controller=localhost:9999
Authenticating against security realm:ManagementRealm
Password:yogesh@123!


Issue is not observed till JBoss EAP 6.4.14. Issue occures after Patch 6.4.15