dreamfactory icon indicating copy to clipboard operation
dreamfactory copied to clipboard

Cannot pass '=' as part of a parameter value to remote http service

Open jacotri77 opened this issue 6 years ago • 0 comments

If you try to pass an = sign in the value of a URL parameter to a remote web service, the param value will get cut off to everything preceding the =. If you try to URL encode (%3D) DreamFactory will then URL encode the % sign and send %253D

I tested this using requestb.in With a parameter like ?filter=day='today' Request Bin showed the incoming parameter as ?filter=day&filter=day

With a parameter like ?filter=day%3D'today' Request Bin showed the incoming parameter as ?filter=day%253D%2527today%2527&filter=day

So it seems that this is also making DF send the parameter twice.

Tested on 2.11 and 2.12 and confirmed the bug

Jira ticket - DF-1304

jacotri77 avatar Mar 28 '18 20:03 jacotri77