redhat-developer/intellij-openshift-connector

Paste login command for username/password parses password incorrectly

martinszuc opened this issue · 0 comments

What versions of software are you using?

  • Operating System:
  • IntelliJ version: U-2023.3
  • Extension version: 1.9.1

What did you run exactly?

  • oc login -u testUser -p testPassword https://api.sample-url.com copy into clipboard and try Paste login command in cluster login dialog.
  • Password gets parsed from the command string and returns into the password textfield with the server URL appended. For example content of the passwordField after the Paste command button press:
Expected :testPassword
Actual   :testPassword https://api.sample-url.com

Actual behavior

Expected behavior

Any logs, error output, etc?