Re: Modifying http->uri in clientRedirectDone

From: Henrik Nordstrom <henrik_at_henriknordstrom.net>
Date: Fri, 11 Jul 2008 20:01:28 +0200

fre 2008-07-11 klockan 08:00 -0700 skrev harsha_en:

> 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.

Then it's simpler to modify the path parsing the result than mess around
with the http struct..

In clientRedirectDone there is the following sequence:

       } else if (strcmp(result, http->uri))
            new_request = urlParse(old_request->method, result);

Modify that to use the result as you like instead of parsing a
new_request.

Regards
Henrik
Received on Fri Jul 11 2008 - 18:00:40 MDT

This archive was generated by hypermail 2.2.0 : Sat Jul 12 2008 - 12:00:05 MDT