Forum Discussion
Manhtuyen2
Sep 19, 2020Nimbostratus
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"
}