Hi, > >Why? Is't it easier to modify the url_rewrite helper instead? >
I'm capturing a url parameter added via url_rewrite helper. Once the parameter is captured I want to set the uri back to the original uri instead of new uri set via url_rewrite helper. Thanks, Harsha Henrik Nordstrom-5 wrote: > > On fre, 2008-07-11 at 06:49 -0700, harsha_en wrote: >> Dear All, >> >> I want to modify the URL received via url_rewrite_program. In oredr to >> achieve this I modified ClientRequestContext::clientRedirectDone method >> by >> updating http->uri and http->redirect.location variables. Following is >> the >> code i used, > > Why? Is't it easier to modify the url_rewrite helper instead? > >> http->uri = xstrdup(modified_uri); >> http->redirect.location = xstrdup(modified_uri); > > Are you sure you want to set redirect.location? This is used for browser > redirects.... > > Regards > Henrik > > > -- View this message in context: http://www.nabble.com/Modifying-http-%3Euri-in-clientRedirectDone-tp18404307p18405862.html Sent from the Squid - Development mailing list archive at Nabble.com.
