View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002068 | OXID eShop (all versions) | 1. ----- eShop frontend ----- | public | 2010-08-27 15:46 | 2012-12-10 14:38 |
Reporter | sventietje | Assigned To | |||
Priority | urgent | Severity | major | Reproducibility | always |
Status | resolved | Resolution | duplicate | ||
Platform | Apache | OS | SLES | OS Version | 11 |
Product Version | 4.3.2 revision 27884 | ||||
Summary | 0002068: sAltImage and SSL | ||||
Description | hi, if $sAltImage is used an SSL is on, https works for nearly fine for all images except the mini_basket. the session stores the ssl and the non ssl-url of the image using oxbasketitem. therefore it resolves the urls from oxarticle. oxarticle does the following: $this->dabsimagedir = $myConfig->getPictureDir( false ); //$sThisShop $this->nossl_dimagedir = $myConfig->getPictureUrl( null, false, false, null, $sThisShop ); //$sThisShop | ||||
Steps To Reproduce | 1. set sAltimage 2. set ssl | ||||
Additional Information | the problem is the method oxconfig::getPictureURL: if ( $sAltUrl = $this->getConfigParam( 'sAltImageDir' ) ) { if ( $this->isSsl()) { $sAltUrl = str_replace( 'http://', 'https://', $sAltUrl ); } if ( !is_null( $sFile ) ) { $sAltUrl .= $sFile; } return $sAltUrl; } the $blSSL - param is totally ignored in case of sAltImage. the part if ( $this->isSsl()) { $sAltUrl = str_replace( 'http://', 'https://', $sAltUrl ); } should be replace by if ( $this->isSsl() || $blSSL === true) { $sAltUrl = str_replace( 'http://', 'https://', $sAltUrl ); } | ||||
Tags | No tags attached. | ||||
Theme | |||||
Browser | All | ||||
PHP Version | any | ||||
Database Version | 5.0.67 | ||||
duplicate of | 0001678 | resolved | vilma_liorensaityte | $this->sAltImageDir='' causes warning due to non-ssl connection |
|
Reminder sent to: sventietje Hi, Thank you very much for your report, effort, code snippets and suggested fix. There was a similar bug reported some time earlier, but with lower priority. I increased the priority and severity, so this issue will be investigated and will be fixed soon. This entry will be closed. But the reference to this will be included in the older bug, as it contains valuable details. Best regards, |