You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltacloud.apache.org by "Ronelle Landy (JIRA)" <ji...@apache.org> on 2012/10/03 23:33:08 UTC

[jira] [Closed] (DTACLOUD-49) The rhevm deltcloud-core client has problems handling long usernames

     [ https://issues.apache.org/jira/browse/DTACLOUD-49?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ronelle Landy closed DTACLOUD-49.
---------------------------------


Closing this issue out - qualification to be done mostly done on ruby 1.9 platforms going forward
                
> 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: Michal Fojtik
>         Attachments: 0001-Fix-rhevm-username-long.patch
>
>
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira