Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

[BUG] Middleware redirect conflicting with i18n routing #747

Open
scottqueen-bixal opened this issue Apr 25, 2023 · 0 comments · Fixed by #745
Open

[BUG] Middleware redirect conflicting with i18n routing #747

scottqueen-bixal opened this issue Apr 25, 2023 · 0 comments · Fixed by #745
Assignees
Labels
bug Something isn't working

Comments

@scottqueen-bixal
Copy link
Contributor

What's expected

  • When a user enters the root they should be redirected to /death-of-a-loved-one
  • When a user enters a URL with the prefix ../es/ to the testing env, it should load the site as expected with the prefixed language

What happened

It was reported in usagov-benefits-eligibility #724 that the theme was not loading correctly when clicking the url -> https://federalist-edd11e6f-8be2-4dc2-a85e-1782e0bcb08e.sites.pages.cloud.gov/preview/gsa/usagov-benefits-eligibility/multi-life-event-2023/es/death-of-a-loved-one/

How to replicate

follow the link here to see the site load as expected
https://federalist-edd11e6f-8be2-4dc2-a85e-1782e0bcb08e.sites.pages.cloud.gov/preview/gsa/usagov-benefits-eligibility/multi-life-event-2023/death-of-a-loved-one/

follow the link here to see the error
https://federalist-edd11e6f-8be2-4dc2-a85e-1782e0bcb08e.sites.pages.cloud.gov/preview/gsa/usagov-benefits-eligibility/multi-life-event-2023/es/death-of-a-loved-one/

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant