Details
-
Bug
-
Status: Verified
-
Resolution: Unresolved
-
Master
-
None
Description
Hi team,
Our customer found an issue that the GUEST_LANGUAGE_ID cookie was overridden when accessing from the site virtual host.
Steps to reproduce:
- Create a new site called (Site A)
- Enable only English language (en-US)
- Add a virtual host under Public Pages in Site A with the default language. (Ex: site-a.local)
- Create a new public page in Site A called (Home) and publish
- Create a new site called (Site B)
- Enable only French (fr-FR)
- Create a new public page in Site B called (Home) and publish
- Access Site B using the virtual host from Site A. (Ex: http://site-a.local.local/web/site-b)
- On Browser open the development tool and inspect GUEST_LANGUAGE_ID
Expected result: The GUEST_LANGUAGE_ID should be fr-FR
Actual result: The GUEST_LANGUAGE_ID was changed to en-US (Site A language)
Reproduced in Master: 22411abd9875742b0d5eeb0c54ea8f94c0741166
Reproduced in 7.3X: b0743fba0e99ebc4a4c8265b5ae5d430da376b5b
Note: It works correctly if accessing from the virtual instance host e.g. http://localhost/web/site-b