Bug ID 433087: Question mark in query component prevents correct URL parsing

Last Modified: Sep 13, 2023

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

Known Affected Versions:
11.4.0, 11.4.1, 11.5.0, 11.5.1, 11.5.2, 11.5.3, 11.5.4, 11.5.5, 11.5.6, 11.5.7, 11.5.8, 11.5.9, 11.5.10, 11.6.0, 11.6.1, 11.6.2, 11.6.3, 11.6.3.1, 11.6.3.2, 11.6.3.3, 11.6.3.4, 11.6.4, 11.6.5, 11.6.5.1, 11.6.5.2, 11.6.5.3, 12.1.0 HF1, 12.1.0 HF2, 12.1.1 HF1, 12.1.1 HF2, 12.1.2 HF1, 12.1.2 HF2

Fixed In:
12.0.0

Opened: Oct 07, 2013

Severity: 3-Major

Related Article: K14929

Symptoms

URLs that contain a question mark in the query component -- that is, more than one question mark -- may not be parsed correctly. Emitted URLs may be incorrect, disrupting IBR documents.

Impact

IBR'd documents include invalid URLs

Conditions

In-document URL contains at least 2 question marks

Workaround

An iRule to correct the URL before emission follows: when HTTP_REQUEST_RELEASE { set ibrpoint [string first ";wa" [HTTP::uri]] if {$ibrpoint != -1} then { set ibrend [expr {$ibrpoint + 18 } ] HTTP::uri [string replace [HTTP::uri] $ibrpoint $ibrend] } }

Fix Information

Question mark in query component no longer prevents correct URL parsing.

Behavior Change

Guides & references

K10134038: F5 Bug Tracker Filter Names and Tips