View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002991 | OXID eShop (all versions) | 4.06. Language and translations | public | 2011-06-17 16:47 | 2012-01-23 17:17 |
Reporter | Helmut L. | Assigned To | |||
Priority | high | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 4.5.0 revision 34568 | ||||
Fixed in Version | 4.5.7 revision 41909 | ||||
Summary | 0002991: wrong language is detected with similar language urls | ||||
Description | if you have two languages: russian http://www.example.net.ru turkish http://www.example.net and open the URL http://www.example.net the shop will detect the language Russian | ||||
Steps To Reproduce | Give two languages an URL. The first language should have a longer version of the second URL. | ||||
Additional Information | The problem is in the isCurrentUrl function of oxConfig. Here is strpos used to search for the current URL in the URL of the language and the current shorter URL will always be found in the longer language URL. | ||||
Tags | No tags attached. | ||||
Theme | Both | ||||
Browser | All | ||||
PHP Version | any | ||||
Database Version | any | ||||