View Issue Details

IDProjectCategoryView StatusLast Update
0002772OXID eShop (all versions)1. ----- eShop frontend -----public2012-12-10 14:37
ReporterMoehlis 
PriorityurgentSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.5.0 revision 34568 
Target VersionFixed in Version4.5.10 revision 44222 
Summary0002772: ssl alt img dir doesnt work
DescriptionUsing alternatve image server and setting "sSSLAltImageDir" in config.inc.php will be ignored in most cases.


Bugfix has to be done in oxconfig.php:getPictureUrl()

wrong:
if ( $this->isSsl() && $blSSL && $sSslAltUrl = $this->getConfigParam( 'sSSLAltImageDir' ) ) {

correct:
if ( ($this->isSsl() || $blSSL) && $sSslAltUrl = $this->getConfigParam( 'sSSLAltImageDir' ) ) {


$blSSL is a parameter of the getPictureUrl method that is null in most cases. So checking if the shop is on ssl AND the parameter is set doesnt make any sense
TagsNo tags attached.
ThemeBoth
BrowserAll
PHP Versionany
MySQL Versionany

Activities

birute_meilutyte

2011-05-05 13:29

reporter   ~0004474

@developers: check from source code side if such issue exist and offered solution is correct

alfonsas_cirtautas

2012-04-13 15:11

reporter   ~0006283

Check changed to (is_null($blSSL) && $oConfig->isSsl()) || $blSSL) to allow forsing ssl mode on or off