# It there some way how to disable(or modify behaviour) redirect\_to action?

**URL:** <https://forum.gitea.com/t/it-there-some-way-how-to-disable-or-modify-behaviour-redirect-to-action/238>\
**Category:** Install/Maintain/Configure\
**Created:** [March 29, 2018, 10:52am UTC](https://forum.gitea.com/t/it-there-some-way-how-to-disable-or-modify-behaviour-redirect-to-action/238 "2018-03-29T10:52:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![andrii](https://avatars.discourse-cdn.com/v4/letter/a/77aa72/32.png) [@andrii](https://forum.gitea.com/u/andrii)\
**Post date:** [March 29, 2018, 10:52am UTC](https://forum.gitea.com/t/it-there-some-way-how-to-disable-or-modify-behaviour-redirect-to-action/238/1 "2018-03-29T10:52:22Z")

</div>

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](http://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

---

<div class="post-metadata">

**Author:** ![andrii](https://avatars.discourse-cdn.com/v4/letter/a/77aa72/32.png) [@andrii](https://forum.gitea.com/u/andrii)\
**Post date:** [March 30, 2018, 7:24am UTC](https://forum.gitea.com/t/it-there-some-way-how-to-disable-or-modify-behaviour-redirect-to-action/238/2 "2018-03-30T07:24:25Z")

</div>

looks like this issue is fixed in 1.4.0 version

---

<div class="post-metadata">

**Author:** ![lunny](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/lunny/32/4701_2.png) [@lunny](https://forum.gitea.com/u/lunny)\
**Post date:** [June 1, 2018, 10:45am UTC](https://forum.gitea.com/t/it-there-some-way-how-to-disable-or-modify-behaviour-redirect-to-action/238/3 "2018-06-01T10:45:26Z")

</div>


