Bug ID 1589813: Change in behaviour when setting value HTTP::payload to 0 in irule from v16 onwards

Last Modified: Nov 20, 2024

Affected Product(s):
BIG-IP Install/Upgrade, LTM(all modules)

Known Affected Versions:
16.0.0, 16.0.0.1, 16.0.1, 16.0.1.1, 16.0.1.2, 17.0.0, 17.0.0.1, 17.0.0.2

Opened: May 28, 2024

Severity: 4-Minor

Symptoms

When HTTP_REQUEST_DATA { set empty "" HTTP::payload replace 0 $clen $empty set request_length [HTTP::header "Content-Length"] log local0. "request_length $request_length" HTTP::release } $request_lenght throws non zero value since v16.0.0

Impact

$request_lenght throws non zero/garbage value.

Conditions

V16.x/v17.x loaded version can observe $request_length throws non zero/garbage value. (but observed $request_length as zero value in eg v15.1.10.4)

Workaround

None

Fix Information

None

Behavior Change

When HTTP_REQUEST { set clen [HTTP::header "Content-Length"] log local0. "clen $clen" HTTP::collect $clen } when HTTP_REQUEST_DATA { set empty "" HTTP::payload replace 0 $clen $empty set request_length [HTTP::header "Content-Length"] log local0. "request_length $request_length" HTTP::release } $request_lenght throws non zero/garbage value since v16.0.0

Guides & references

K10134038: F5 Bug Tracker Filter Names and Tips