When Rewriting URLs, the path in "Rewrite to:" field gets duplicated when a request is sent to the endpoint.
If you consider the attached screenshot, when I make a post request to myTykGwAddress/someapi/test then I am routed to targetAddress/a/b/c/a/b/c instead of just targetAddress/a/b/c.
However if I don't add any path to the target, it works fine for that.
Do you know what may be causing this or is there a fix for this? I haven't been able to find references to such an issue anywhere.
Thanks in advance!