View Issue Details

IDProjectCategoryView StatusLast Update
0004026OXID eShop (all versions)4.04. Securitypublic2012-05-17 16:39
Reportermolineus Assigned To 
PriorityhighSeveritymajorReproducibilityalways
Status resolvedResolutionno change required 
Product Version4.6.0 revision 44406 
Fixed in Version4.6.1 revision 45706 
Summary0004026: oxConfig::isSsl() doesn't work if only sAdminSSLURL is activated
DescriptionIf only the admin ssl is activated (not the sslshopurl) in the config.inc.php _blIsSsl isn't a boolean and isSsl() doesn't work.

How to fix it: oxConfig::isSsl()

if ($this->isAdmin() && !$this->_blIsSsl) {
  $this->_blIsSsl = $this->getConfigParam('sAdminSSLURL') ? true : false;
}
Steps To Reproduce1. activate sAdminSSLURL in config.inc.php
2. deactivate sSSLShopURL
3. login in backend and goto cms pages for instance
Additional InformationPHP version 5.3.3-7+squeeze9
TagsNo tags attached.
ThemeBoth
BrowserAll
PHP Version5.3
Database Versionany

Relationships

related to 0003929 resolvedvaidas.matulevicius [EE-only] Mall ssl url detection is broken 

Activities

vaidas.matulevicius

2012-05-17 16:39

reporter   ~0006626

We can't reproduce it, but we added your suggested implementation to code.