[BUGFIX] Images from TER hosters break SSL
authorGeorg Ringer <mail@ringerge.org>
Fri, 24 Feb 2012 06:19:13 +0000 (07:19 +0100)
committerGeorg Ringer <mail@ringerge.org>
Thu, 8 Mar 2012 06:25:18 +0000 (07:25 +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/9439
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
typo3/sysext/em/classes/connection/class.tx_em_connection_extdirectserver.php

index dec521a..2051a06 100644 (file)
@@ -1010,7 +1010,7 @@ class tx_em_Connection_ExtDirectServer {
                                                'path' => $mirror['path'],
                                                'sponsor' => $mirror['sponsorname'],
                                                'link' => $mirror['sponsorlink'],
-                                               'logo' => $mirror['sponsorlogo'],
+                                               'logo' => str_replace('http:', '', $mirror['sponsorlogo']),
                                        );
                                }
                        }