You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltacloud.apache.org by "Michal Fojtik (JIRA)" <ji...@apache.org> on 2011/07/21 13:57:58 UTC
[jira] [Resolved] (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 ]
Michal Fojtik resolved DTACLOUD-49.
-----------------------------------
Resolution: Fixed
Should be fixed now.
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira