Bug ID 1586405: "/f5-h-$$/" repeatedly appened to URL's path every refresh of the page

Last Modified: Jul 11, 2024

Affected Product(s):
BIG-IP APM(all modules)

Opened: May 16, 2024

Severity: 3-Major

Symptoms

Observe multiple "/f5-h-$$/" in URLs when accessing via Protected Access.

Impact

URLs become lengthy upon every refresh and may lead to webapp misfunction.

Conditions

"<base href="xxxxx">" tag in the home page.

Workaround

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 } } ======================

Fix Information

None

Behavior Change

Guides & references

K10134038: F5 Bug Tracker Filter Names and Tips