Forum Discussion
Manhtuyen2
Nimbostratus
Sep 18, 2020Bad Request when access through BIG IP
Hi All, We have an internal website published via BIG IP. The scenarios we have as below: Access direct to the website "https://internalweb.com/index.html?keysearch=test%20search" => OK ...
Manhtuyen2
Nimbostratus
Sep 19, 2020Hi 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"
}Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
