I’ve got an iRule where i send traffic to a specific pool based on the URL path they send in. It works well for most URL paths but i’ve received a request to add a new pool from a path that contains a “=” (equals) symbol. The F5 either doesnt recognize the = symbol or it thinks im trying to set a parameter. Either way it doesnt match the URL path so it drops the traffic. When i removed the = symbol then it works perfectly. Any thoughts how to make the F5 understand the = is apart of the URL path and nothing more?
I tried this irule and it detect equals character:
when HTTP_REQUEST {
if {[HTTP::uri] contains "=" } { log local0. "[HTTP::uri] : detected"} else { log local0. "[HTTP::uri] : not detected" }
}
The log is:
May 25 14:59:49 F5adm info tmm[20143]: Rule /Common/detect-equals : /foo=bar/ : detected
May 25 14:59:53 F5adm info tmm[20143]: Rule /Common/detect-equals : / : not detected