fcfce99e9e
Previous to this commit, HTTP params like `{ a: '1', b: [], c: '3' }` resulted in a request like `a=1&&c=3` (note the double &&). The ideal fix would probably be to stringify these params to `a=1&b=&c=3` like we do for empty string values. But that might be breaking as some APIs may rely on the absence of the parameter. This fixes the issue in a compatible way by just removing the extra and unnecessary `&`, resulting in `a=1&c=3`. PR Close #34896 |
||
---|---|---|
.. | ||
BUILD.bazel | ||
client_spec.ts | ||
headers_spec.ts | ||
jsonp_mock.ts | ||
jsonp_spec.ts | ||
module_spec.ts | ||
params_spec.ts | ||
request_spec.ts | ||
response_spec.ts | ||
xhr_mock.ts | ||
xhr_spec.ts | ||
xsrf_spec.ts |