Closed (fixed)
Project:
Cloud Files
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Dec 2012 at 14:07 UTC
Updated:
10 Mar 2014 at 03:40 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
davidwbarratt commentedAttached is a patch that that should fix the problem and properly display the content over SSL.
I didn't include this, but it might be wise to add a hook_update_N() function that goes to Rackspace and gets the SSL domain.
This way a user does not have to go to the settings page after updating the module, it will be ready for SSL use on update.
thanks!
david barratt
Comment #2
iLLin commentedHad to apply manually for some reason, but this worked for me like a champ.
Comment #3
beanjammin commentedThe patch from #1 didn't apply for me either (3rd hunk of cloud_files.module) so I have re-rolled it against the current 7.x-1.x-dev, which happens to be the same as 7.x-1.1 at the time of writing.
Comment #5
beanjammin commentedDoh, corrected patch paths for -p1.
Comment #6
beanjammin commentedComment #8
beanjammin commentedComment #9
benkewell commentedFixed the patch to work with v1.2 , also fixed the correct call to get SSL Uri:
$container->getCdn()->getCdnSslUri()Personally tested with v1.2 and confirmed it works.
This issue has been around for a year, if this patch works,
please commit it to add SSL support to module.
Comment #10
benkewell commentedIncluded a few minor changes:
1. Remove variable 'rackspace_cloud_cdn_ssl_domain' on uninstall.
2. Increase the size of Other Authentication URL textfield for easier URL input.
3. Changed the line to fetch container list in admin form from "$container_list->Next()" to "$container_list->next()"
Tested to work on php-opencloud v1.9.2
Comment #11
mr.moses commentedCommitted in http://drupalcode.org/project/cloud_files.git/commit/2beb18c
Thanks all!