The rhevm deltcloud-core client has problems handling long usernames
--------------------------------------------------------------------
Key: DTACLOUD-49
URL: https://issues.apache.org/jira/browse/DTACLOUD-49
Project: DeltaCloud
Issue Type: Bug
Components: Server
Environment: Linux Fedora 14 x86_64
Reporter: Francesco Vollero
Assignee: David Lutterkort
The rhevm deltcloud-core client has problems handling long usernames. Below the
first two examples work.
But the last example does not. The examples are prints of the headers in
clusters method of rhevm_client.rb after the merge.
I think the problem is in the auth_header method in rhevm_client.rb. The method
calls Base64.encode64 to encode the username and password. The docs for
encode64 says it encodes lines of 60 characters in length and then adds a LF
between each line. It appears that the LF is causing a problem, but I'm not
certain.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira