Post-login checkout_url does not work when url contains Hebrew letters

Hi, I’m an app developer, we have a couple of code snippets running inside our clients stores that redirect the user to the login page while leveraging the checkout_url parameter to redirect the customers back to the page where they came from.

I found that when the checkout_url contains Hebrew letters, the user is not redirected to the checkout_url, but just goes to the login page. You can find an example here. I managed to replicate it in another store.

The checkout_url does work when creating an account, but not when logging in.

Any chance this can be solved?