[BUGFIX] Images from TER hosters break SSL
authorGeorg Ringer <mail@ringerge.org>
Fri, 24 Feb 2012 06:19:13 +0000 (07:19 +0100)
committerSteffen Ritter <info@rs-websystems.de>
Wed, 7 Mar 2012 07:21:48 +0000 (08:21 +0100)
The logos should be fetched in the same context as the backend.
If https is used there, images are now loaded also via https

Change-Id: I8d210facfe89cbdae2ebd1d07da6cb8c51e5bbdb
Fixes: #34203
Releases: 4.8, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/9170
Reviewed-by: Tolleiv Nietsch
Tested-by: Tolleiv Nietsch
Reviewed-by: Oliver Klee
Reviewed-by: Wouter Wolters
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
typo3/sysext/em/classes/connection/class.tx_em_connection_extdirectserver.php

index 2e98b55..51ad1bb 100644 (file)
@@ -1049,7 +1049,7 @@ class tx_em_Connection_ExtDirectServer {
                                                'path' => $mirror['path'],
                                                'sponsor' => $mirror['sponsorname'],
                                                'link' => $mirror['sponsorlink'],
-                                               'logo' => $mirror['sponsorlogo'],
+                                               'logo' => str_replace('http:', '', $mirror['sponsorlogo']),
                                        );
                                }
                        }