View Issue Details

IDProjectCategoryView StatusLast Update
0002991OXID eShop (all versions)4.06. Language and translationspublic2012-01-23 17:17
ReporterHelmut L. Assigned To 
Status resolvedResolutionfixed 
Product Version4.5.0 revision 34568 
Fixed in Version4.5.7 revision 41909 
Summary0002991: wrong language is detected with similar language urls
Descriptionif you have two languages:

and open the URL the shop will detect the language Russian
Steps To ReproduceGive two languages an URL.
The first language should have a longer version of the second URL.
Additional InformationThe 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.
TagsNo tags attached.
PHP Versionany
Database Versionany


Linas Kukulskis

2012-01-23 17:17

reporter   ~0005630

added additional check of domains