Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
Master
-
7.0.x, 6.2.x
-
Committed
-
3
-
IBM Websphere 8.5.x
-
Localization
Description
Preconditions
- Use a WebSphere Application Server (WAS) v8.5.x.
- Define locale.prepend.friendly.url.style=1 in portal-ext.properties
Steps to reproduce:
- Add a new page configured for two locales:
- Default locale (English) -> Name: "ofertas"
- Default locale (English) -> Friendly URL: http://IP:PORT/web/guest/ofertas
- Locale (Catalan - Spain) -> Name: "ofertes-i-abonaments"
- Locale (Catalan - Spain) -> Friendly URL: http://IP:PORT/web/guest/ofertes-i-abonaments
Checkpoint 1:
- Enter following URL in browser:
http://IP:PORT/web/guest/ofertas?foo=bar
Expected and observed behaviour:
- Page is loaded and query string keeps "foo=bar".
- GUEST_LANGUAGE_ID cookie is set to en_US
Checkpoint 2:
- Enter following URL in browser:
http://IP:PORT/ca/web/guest/ofertas-i-abonaments?foo=bar
Expected and observed behaviour:
- Page is loaded and query string keeps "foo=bar".
- GUEST_LANGUAGE_ID cookie is set to ca_ES
Checkpoint 3:
- Enter following URL in browser:
http://IP:PORT/ca/ofertas?foo=bar
Expected behaviour:
- Page is redirected to http://IP:PORT/ca/web/guest/ofertas-i-abonaments?foo=bar (query string keeps "foo=bar").
- GUEST_LANGUAGE_ID cookie is set to ca_ES
Observed behaviour:
- Page is redirected to http://IP:PORT/ca/web/guest/ofertas-i-abonaments (query string "foo=bar" is lost).
- GUEST_LANGUAGE_ID cookie is set to ca_ES
Attachments
Issue Links
- causes
-
LPS-77387 Duplicated request parameters when using virtualhost or explicit locale
- Closed
- is fixed by
-
LPS-77387 Duplicated request parameters when using virtualhost or explicit locale
- Closed
- relates
-
LPE-16247 When using localized URL, forwards lose URL query string in WebSphere application server
-
- Closed
-