Loading

Flex Gateway decodes encoded slash (%2F) and other percent-encoded characters in the request path before forwarding to the upstream

Veröffentlichungsdatum: Sep 21, 2026
Beschreibung

After upgrading to Flex Gateway 1.14.0, the user observed that encoded path parameters were modified before the request was forwarded upstream.

  • In version 1.13.3, %2F remained encoded.
  • In version 1.14.0, %2F decoded to /.

The decoding caused the upstream service to misidentify resources.

Lösung

1. Set the environment variable FLEX_PATH_NORMALIZATION_ENABLED=false on the Flex Gateway deployment. This disables path normalization that decodes percent-encoded reserved characters before forwarding requests upstream.

2. After applying the environment variable, retest the upstream calls that include encoded path values. Confirm whether the issue is resolved.

Nummer des Knowledge-Artikels

005460325

 
Laden
Salesforce Help | Article