Last Modified: Jul 11, 2024
Affected Product(s):
BIG-IP APM
Opened: May 16, 2024 Severity: 3-Major
Observe multiple "/f5-h-$$/" in URLs when accessing via Protected Access.
URLs become lengthy upon every refresh and may lead to webapp misfunction.
"<base href="xxxxx">" tag in the home page.
Customised irule ====================== when HTTP_REQUEST { if {[HTTP::has_responded]} { return } #log local0. "URI: [HTTP::path]" set match 0 if { "[HTTP::path]" ends_with "$$/" } { #log local0. "matched uri" set match 1 if { [HTTP::version] eq "1.1" } { if { [HTTP::header is_keepalive] } { HTTP::header replace "Connection" "Keep-Alive" } HTTP::version "1.0" } } } when HTTP_RESPONSE { if { [info exists match] && $match == 1} { if { [HTTP::header exists "Content-Length"] and [HTTP::header "Content-Length"] <= 1048576 } { HTTP::collect [HTTP::header Content-Length] } else { HTTP::collect 2097152 ;# 2MB } } } when HTTP_RESPONSE_DATA { if { [info exists match] && $match == 1} { set data [HTTP::payload] set start [string first {<base href="/">} $data] HTTP::payload replace $start 16 {<base href="">} HTTP::release } } ======================
None