Bug ID 719247: HTTP::path and HTTP::query iRule functions cannot be set to a blank string

Last Modified: Nov 07, 2022

Bug Tracker

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

Known Affected Versions:
13.0.0, 13.0.0 HF1, 13.0.0 HF2, 13.0.0 HF3, 13.0.1, 13.1.0, 13.1.0.1, 13.1.0.2, 13.1.0.3, 13.1.0.4, 13.1.0.5, 13.1.0.6, 13.1.0.7, 13.1.0.8, 13.1.1, 13.1.1.2, 13.1.1.3, 14.0.0, 14.0.0.1, 14.0.0.2, 14.0.0.3, 14.0.0.4

Fixed In:
14.1.0, 14.0.0.5, 13.1.1.4

Opened: May 09, 2018
Severity: 4-Minor
Related Article:
K10845686

Symptoms

The HTTP::path and HTTP::query iRule functions generate an error if called with an argument that is a blank string, resulting in connection termination.

Impact

Error encountered while executing iRule "HTTP::query $blank", and the connection is terminated with an error in the logs similar to the following: -- err tmm[17219]: 01220001:3: TCL error: /Common/ir_1-4045405141_query <HTTP_REQUEST>

Conditions

In an iRule where the argument is a blank string: HTTP::path "" HTTP::query ""

Workaround

To set HTTP::query to blank, use the following function: HTTP::uri [HTTP::path] To set HTTP::path to blank, use the following function: HTTP::uri [HTTP::query]

Fix Information

HTTP::path and HTTP::query iRule functions now accept blank string arguments.

Behavior Change