Pirlo
Jun 05, 2014Nimbostratus
Match "=" sign in URI then insert into redirect
How do I grab everything after the equal sign then insert it into my redirect?
I have no idea how to put the framework for this rule together and have no code at this point. Everything I have tried fails. When I try to google or search devcentral I am finding info on the equal or ne function.
Original Request that I need to grab everything after the equal sign https://domain.com/dir/ectory/cancelOrderForm?refundInfo=VALUETHATISNEEDED
Redirect and insert
https://domain.com/dir/ectory/cancelOrderVerify.action?token=VALUETHATISNEEDED
I am assuming I need to set it then insert it something like the below
HTTP::redirect https://domain.com/dir/ectory/cancelOrderVerify.action?token=$EVERYTHINGAFTEREQUALSIGN