13 years ago
Query Parameter URL encoding issue
I have tried everything I can think of but can not send a request like follows with '+' in it.
http://localhost:8080/cbsp/partner/1/me ... EIZQ%3D%3D
This a request that I have tried just sending the token as all of the following and the + is always either double encoded or not encoded at all never correctly encoded.
With URL Encoding on it fails when sending
ENms3yVR8N%2BYi2JxBqEIZQ%3D%3D returns ENms3yVR8N%2F2BYi2JxBqEIZQ%2F3D%2F3D (double encodes correct)
ENms3yVR8N+Yi2JxBqEIZQ== returns ENms3yVR8N+Yi2JxBqEIZQ== (and does not encode the values
)
Now Disable URL Encoding
ENms3yVR8N%2BYi2JxBqEIZQ%3D%3D returns ENms3yVR8N+Yi2JxBqEIZQ== (it removes my encoding
)
ENms3yVR8N+Yi2JxBqEIZQ== returns ENms3yVR8N+Yi2JxBqEIZQ== (and does not encode the values correct)
So there is no way for me to send a parameter like ENms3yVR8N+Yi2JxBqEIZQ==
http://localhost:8080/cbsp/partner/1/me ... EIZQ%3D%3D
This a request that I have tried just sending the token as all of the following and the + is always either double encoded or not encoded at all never correctly encoded.
With URL Encoding on it fails when sending
ENms3yVR8N%2BYi2JxBqEIZQ%3D%3D returns ENms3yVR8N%2F2BYi2JxBqEIZQ%2F3D%2F3D (double encodes correct)
ENms3yVR8N+Yi2JxBqEIZQ== returns ENms3yVR8N+Yi2JxBqEIZQ== (and does not encode the values

Now Disable URL Encoding
ENms3yVR8N%2BYi2JxBqEIZQ%3D%3D returns ENms3yVR8N+Yi2JxBqEIZQ== (it removes my encoding

ENms3yVR8N+Yi2JxBqEIZQ== returns ENms3yVR8N+Yi2JxBqEIZQ== (and does not encode the values correct)
So there is no way for me to send a parameter like ENms3yVR8N+Yi2JxBqEIZQ==