angular-cn/packages/common/http/test
cexbrayat fcfce99e9e fix(common): remove extra & in http params (#34896)
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
2020-01-31 11:26:25 -08:00
..
BUILD.bazel test: setup circular dependency tests for all entry points (#34774) 2020-01-23 11:36:40 -08:00
client_spec.ts test(ivy): fix paths for http tests to work with ivy (#27121) 2018-11-15 21:18:00 -08:00
headers_spec.ts test(ivy): fix paths for http tests to work with ivy (#27121) 2018-11-15 21:18:00 -08:00
jsonp_mock.ts build(bazel): Turning on strictPropertyInitialization for Angular. (#24572) 2018-06-25 07:57:13 -07:00
jsonp_spec.ts test(ivy): fix paths for http tests to work with ivy (#27121) 2018-11-15 21:18:00 -08:00
module_spec.ts refactor: fix typescript strict flag failures in all tests (#30993) 2019-07-18 14:21:26 -07:00
params_spec.ts fix(common): remove extra & in http params (#34896) 2020-01-31 11:26:25 -08:00
request_spec.ts test(ivy): fix paths for http tests to work with ivy (#27121) 2018-11-15 21:18:00 -08:00
response_spec.ts test(ivy): fix paths for http tests to work with ivy (#27121) 2018-11-15 21:18:00 -08:00
xhr_mock.ts test(ivy): fix paths for http tests to work with ivy (#27121) 2018-11-15 21:18:00 -08:00
xhr_spec.ts fix(common): expose request url in network error (#27143) 2018-11-27 10:16:22 -08:00
xsrf_spec.ts test(ivy): fix paths for http tests to work with ivy (#27121) 2018-11-15 21:18:00 -08:00