I am having a problem passing some values in the url.
I put a simple example:
from py4web import redirect, URL
@action("test")
def test():
valor = "niña"
redirect(URL("test2", vars=dict(valor=valor)))
@action("test2")
def test2():
print(request.query.get('valor'))
test redirects to test2. The result that is printed is:
niña
But I expected to get:
niña
In web2py I do something similar and it works like esterp.
Is there something wrong or do I have to do it another way?
Thanks.
Carlos.