I set a Transform Rule and what happens now is that instead of a rewrite I get a redirect.
I don’t have any Redirect Rules in place.
I have only 1 Transform Rule in place. This is the rule:
I also have a Page Rule set for www-domain-com/ to Cache Level: Bypass
What happens now is when I load www-domain-com/?cf_test=1 in a browser it redirects to www-domain-com/?cf_test=1&timezone=my-timezone
The URL in the browser address bar should not change. Yet it does. It works as a redirect.
What is odd, though, is that if I use a Static query rewrite set to ?cf_test=1&timezone=testtest and I load www-domain-com/?cf_test=1 in a browser, it will not redirect to ?cf_test=1&timezone=testtest but will instead leave the URL in address bar as www-domain-com/?cf_test=1 and yet it will access www-domain-com/?cf_test=1&timezone=testtest - which is how it should work.
With Static query rewrite it acts as a true rewrite, with Dynamic it acts as a redirect. I need the Dynamic one to work as a rewrite because I need to pass the ip.src.timezone.name field to the origin server.
What am I missing?