I'm working on a solution where I'm trying to rewrite a URL that was originally came from a Google search appliance. It's for an internal proxy were I'm using a ColdFusion app to serve as a proxy between clients and our Google search appliance.
The URLs I'm trying to process in IIRF look like this "example.com/search?q=foo+bar&btnG=Google+Search&entqr=0", with a few more values in that query string, typically.
What I'm trying to accomplish is to take all the variables in the query string, and rewrite them to "index.cfm?vars=" and the variables, with all the ampersands escaped.
The problem is, there will an unknown number of variables, and thus, an unknown number of ampersands in the query string.
My problem is, and I've used IIRF for some time now, I just do not see a way to do a "replace all" on all occurences of ampersands in a query string, to change them to something else like the html-escaped equivalent. Is there a way to do this?