Loading

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

Дата публикации: Sep 21, 2026
Описание

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.

Решение

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.

Номер статьи базы знаний

005460325

 
Загрузка
Salesforce Help | Article