Bug ID 1004845: Accessing attribute using attributeNode value does not work with Portal Access

Last Modified: Apr 01, 2021

Bug Tracker

Affected Product:  See more info
BIG-IP APM(all modules)

Known Affected Versions:
15.0.0, 15.0.1, 15.0.1.1, 15.0.1.2, 15.0.1.3, 15.0.1.4, 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, 16.0.0, 16.0.0.1, 16.0.1, 16.0.1.1

Opened: Mar 23, 2021
Severity: 4-Minor

Symptoms

URI normalization issue when using attributeNode to access attribute values.

Impact

Web application does not work as expected.

Conditions

Using attributeNode to access attribute value in web applications

Workaround

Use custom iRule to fix this issue. There is no generic iRule for this issue, but here is a sample iRule: XXXX is the file which usage attributeNode. when REWRITE_REQUEST_DONE { if { [HTTP::path] ends_with "XXXX" } { # log "URI=([HTTP::path])" # Found the file to modify REWRITE::post_process 1 } } when REWRITE_RESPONSE_DONE { set strt [string first {<script>try} [REWRITE::payload]] if {$strt > 0} { REWRITE::payload replace $strt 0 { <script> (function (){ var old_F5_Inflate_value = F5_Inflate_value; F5_Inflate_value = function (o,sw,incr,v) { if (o && o.ownerDocument) { if (o.name == 'action') { if (o.ownerElement) { F5_Inflate_action(o.ownerElement,incr,v); } } } return old_F5_Inflate_value.apply(this,arguments) } })(); </script> } } }

Fix Information

None

Behavior Change