18-Sep-2020 04:59
Hi All,
We have an internal website published via BIG IP. The scenarios we have as below:
I've check the request F5 sent to the backend server in the error case, seems like F5 decoded the URI and sent the request "https://f5web.com/index.html?keysearch=test search" to backend server.
Does anyone have advice which settings i can modify to fix this issue?
18-Sep-2020
21:52
- last edited on
04-Jun-2023
21:17
by
JimmyPackets
Hi all,
I already figured out the problem. It's because the decode irule we use in the url filtering irule & it return the decode request to backend server by "HTTP::uri $uri"
when HTTP_REQUEST {
# decode original URI.
set tmpUri [HTTP::uri]
set uri [URI::decode $tmpUri]
# repeat decoding until the decoded version equals the previous value.
while { $uri ne $tmpUri } {
set tmpUri $uri
set uri [URI::decode $tmpUri]
}
HTTP::uri $uri
log local0. "Original URI: [HTTP::uri]"
log local0. "Fully decoded URI: $uri"
}