Query Parameters duplicated in GET calls during URL rewrite in Avi Load Balancer version 32.1.x
search cancel

Query Parameters duplicated in GET calls during URL rewrite in Avi Load Balancer version 32.1.x

book

Article ID: 450733

calendar_today

Updated On:

Products

VMware Avi Load Balancer

Issue/Introduction

Following an upgrade to version 32.1.x, some GET requests experience duplicated query parameters when URL rewrite rules are active. This behavior typically occurs when the URL query contains encoded characters like "%2F" (forward slash).

 

Environment

  • Product: Avi Load Balancer
  • Impacted Version: 32.1.x
  • Configuration: Virtual Services using URL Rewrite policies with "Keep Query" enabled.

Cause

A software defect in version 32.1.x causes query parameters to be added twice during the URL rewrite process if specific string patterns (such as "%2F") are present in the query string.

Users may observe the following behavior:
* The query parameter is appended twice in the URL.
* Application errors occur due to malformed requests.
* Incorrect routing or load balancing behavior.

Resolution

As a workaround, create two new HTTP Request rules and disable the existing rule.

  1. Navigate to Applications > Virtual Services.
  2. Edit the impacted Virtual Service and navigate to Policies > HTTP Policy Sets.
  3. Edit the HTTP Policy Set and add the following rules:

Rule 1:

  1. Create an HTTP request rule with matching criteria for the Query.
  2. Under the Action, uncheck the Keep query option.

Rule 2:

  1. Create an HTTP request rule with matching criteria for the Query.
  2. Under the Action, select the Keep query option.

If you have any further queries Use the link to contact  Broadcom Contact Support