Forum Discussion
Gbps_31870
Oct 24, 2012Nimbostratus
Steve/nitass,
Really appreciate your efforts.
Sorry I wasn't clear about descripting the issue clearly.
when HTTP_REQUEST {
if {([HTTP::header exists "X-Forwarded-For"]) and ([string tolower [HTTP::uri]] contains "/xyz/string-1")} {
switch -glob [HTTP::header values "X-Forwarded-For"] {
"some-value" {
HTTP::redirect "http://www.example.com/xyz/string-2"
pool Pool_X
event disable all
}
}
}
}
Issue: "event disable all" is the cause of URI leaking. The initial request forwarded to Pool_X while subsequent requests are not.
Resolution: using "return" instead which will keep processing subsequent requests but exits from the currently executing event in the currently executing iRule.
Thanks again ,,
https://devcentral.f5.com/Community/GroupDetails/tabid/1082223/aft/1174233/asg/50/Default.aspx
BR,