Loading
Ongoing maintenance for Salesforce HelpRead More
PHP Vulnerability Monitoring Read More

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

Publish Date: Sep 21, 2026
Description

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.

Resolution

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.

Knowledge Article Number

005460325

 
Loading
Salesforce Help | Article