Apigee url encodes plus sign incorrectly

Not applicable

Hi,

We are adding a queryparam using a base64 encrypted value.

Such a value could be: "jBszG/QmdM6Yii+atxkQGA==".

Notice the plus sign.

Apigee should url encode this value, and it does, however it encodes it to "jBszG%2FQmdM6Yii%20atxkQGA%3D%3D".

%20 is a whitespace, so the plus sign has just been transformed to a whitespace. When I url encode it myself the value becomes: "jBszG%2FQmdM6Yii%2BatxkQGA%3D%3D".

I tried to fix this by url encoding it myself (using a javascript step), however, apigee just url encodes the queryparam twice.

How to fix this?

0 1 731
1 REPLY 1

Hi @michelvandenberg,

I have tried using the value "jBszG/QmdM6Yii+atxkQGA==" as a queryparam on cloud version of Apigee and its encoded to "jBszG%2FQmdM6Yii%2BatxkQGA" which is correct.

Are you working on any On-premise version of Apigee?