2
0
mirror of https://github.com/tenrok/axios.git synced 2026-05-15 11:59:42 +03:00

Fixing special char encoding (#1671)

* removing @ character from replacement list since it is a reserved character

* Updating buildURL test to not include the @ character

* Removing console logs

Co-authored-by: Jay <jasonsaayman@gmail.com>
This commit is contained in:
David
2020-05-27 05:37:39 -07:00
committed by GitHub
parent 5effc0827e
commit 8a8c534a60
2 changed files with 2 additions and 3 deletions
+2 -2
View File
@@ -36,8 +36,8 @@ describe('helpers::buildURL', function () {
it('should support special char params', function () {
expect(buildURL('/foo', {
foo: '@:$, '
})).toEqual('/foo?foo=@:$,+');
foo: ':$, '
})).toEqual('/foo?foo=:$,+');
});
it('should support existing params', function () {