Description of problem: "oc login" fails if the user's password contains a colon (":") Version-Release number of selected component (if applicable): openshift v3.0.2.0-20-g656dc3e How reproducible: Always Steps to Reproduce: $ oc login Authentication required for https://ose-master-63bf3.example.com:8443 (openshift) Username: joe Password: type a password that contains a colon, e.g.: a:b Actual results: Error from server: Internal error occurred: unexpected response: 500 In the master logs: oct 30 04:26:28 ose-master-63bf3.example.com openshift-master[2414]: E1030 04:26:28.871321 2414 empties.go:28] AuthenticationError: Invalid Authorization header Expected results: Login successful. Additional info: usernames are not allowed to contain a colon, but passwords can: http://tools.ietf.org/html/rfc2617#section-2
https://github.com/openshift/origin/pull/5518
https://github.com/openshift/origin/pull/5518 in the merge queue
Commit pushed to master at https://github.com/openshift/origin https://github.com/openshift/origin/commit/9505cfcd2f76fcf10c37ac10cafc613f2228549d Handle passwords with colon in basic auth Split the Basic auth header in only two parts. Fixes bug 1276599
Checked by devenv_rhel7_2658, and this issue has been fixed, so verify this.