Redirect in deployment with Bottle package leads to url

Problem description:

I’m using Bottle package instead a Flask for a web server.
I have deployed it and when i use redirection, it leads to a * url

Expected behavior:

It should keep the url even when redirecting

Steps to reproduce:

Create a small web app with bottle, create a route which redirects to “/” and the url change to a long line of

Bug appears at this link:

Go to this site :
Then add “redirect” to the url to be redirected to the “/”
It should change the url to :

It works fine with Flask so it may be an issue with the Bottle module but maybe there is also an issue with deployment redirections ?

it seems to be fixed, thanks for your work