Last Modified: Jan 06, 2023
Affected Product:
See more info
BIG-IP APM
Known Affected Versions:
15.1.0, 15.1.0.1, 15.1.0.2, 15.1.0.3, 15.1.0.4, 15.1.0.5, 15.1.1, 15.1.2, 15.1.2.1, 15.1.3, 15.1.3.1, 15.1.4, 15.1.4.1, 15.1.5, 15.1.5.1, 15.1.6, 15.1.6.1, 15.1.7, 15.1.8, 15.1.8.1
Opened: Feb 11, 2021
Severity: 4-Minor
The URL meta tag is not rewritten if it is encapsulated in single quotes.
-- Failure in redirection to URL -- Error in sending request to the URL
HTML page with meta tag URL under single quotes('') loaded through Portal access
Use a custom iRule to find meta tag URL and remove the single ('') before it goes to rewrite. There is no standard iRule as it depends on web application accessed through Portal Access. Here is sample iRule: when REWRITE_REQUEST_DONE { if { [HTTP::path] contains "XXXXX" } { #XXXXX is accessed html file set replace_metaurl 1 set host_name [HTTP::host] } else { set replace_metaurl 0 } } when HTTP_RESPONSE { if {$replace_metaurl == 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 {$replace_metaurl == 1} { # Workaround for support meta tag URL under '' # Find the meta tag URL and remove '' HTTP::release } }
None