When called in offline queue, File::url was HTTP
Despite having the site configured "always" for HTTPS, File generated thumbnails and such with HTTP urls.
This commit is contained in:
@@ -303,7 +303,7 @@ class File extends Managed_DataObject
|
||||
|
||||
}
|
||||
|
||||
if (StatusNet::isHTTPS()) {
|
||||
if (StatusNet::useHTTPS()) {
|
||||
|
||||
$sslserver = common_config('attachments', 'sslserver');
|
||||
|
||||
|
Reference in New Issue
Block a user