It there some way how to disable(or modify behaviour) redirect_to action?

is there some way how to disable(or modify behaviour) redirect_to action?
for example:
https://<ip_addr_of_gitea>:3000/test/action/follow?redirect_to=http://google.com/
as a result you will be redirected to the google.com page
it is reproduced on Giteav1.3.2

i want to disable it to avoid implementing some kind of phising attack on my gitea service

looks like this issue is fixed in 1.4.0 version

1 Like