View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001878 | OXID eShop (all versions) | 4.06. Language and translations | public | 2010-06-04 08:37 | 2011-02-14 14:59 |
Reporter | dainius.bigelis | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 4.3.2 revision 27884 | ||||
Fixed in Version | 4.4.7 revision 33396 | ||||
Summary | 0001878: Shop can be loaded in disabled language when this is requested via param in url | ||||
Description | When some language is disabled in the shop and parameter lang=x with this language ID is added to the url - the shop will be loaded in this language. If language is disabled, shop should ignore such requests and should not load shop in disabled language. In this case shop should be loaded in default language. | ||||
Tags | No tags attached. | ||||
Theme | |||||
Browser | All | ||||
PHP Version | any | ||||
Database Version | any | ||||
|
Why hasn't this been solved until now? This is definitely of higher severity than "minor"! |
|
I think this Fix would be sufficient: Change in oxlang::validateLanguage (from line 536): from this: // checking if this language is valid $aLanguages = $this->getLanguageArray(); to that: // checking if this language is valid $aLanguages = $this->getLanguageArray(null,!isAdmin()); This disables inactive Languages in Frontend. |
|
fixed language activity check |