Changed urls on the language select box on forgot password view

Hi to all,
I have deployed keycloak 25.0.6 to Azure kubernetes. I’ve enabled internationalization.
When I select different language on login page it works properly
but on Forgot password page the links paths have changed /realms/ to /ms/

see the link preview at bottom of screenshot.

It works properly on docker locally.
Any idea?