vchs / ruby_vcloud_sdk

Apache License 2.0
15 stars 16 forks source link

Updated connection.rb for vCloud Air #7

Open clintkitson opened 9 years ago

clintkitson commented 9 years ago

The strict_encode64 is being used instead of encode64 since "\n" was present based on longer usernames, ie. "clintonskitson@email.com@guid-asdsaasd-asdasdasdas. I believe it is 60 characters that encode64 starts adding line breaks.

The post also had to be modified since headers were being added to the authorization parameter.