2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-23 20:40:40 +03:00

fix(params): removing '[' and ']' from URL encode exclude characters (#3316) (#5715)

Co-authored-by: Jay <jasonsaayman@gmail.com>
This commit is contained in:
최예찬
2025-08-02 03:44:47 +09:00
committed by GitHub
parent 0dbb7fd4f6
commit 6d84189349
2 changed files with 5 additions and 7 deletions
+1 -3
View File
@@ -16,9 +16,7 @@ function encode(val) {
replace(/%3A/gi, ':').
replace(/%24/g, '$').
replace(/%2C/gi, ',').
replace(/%20/g, '+').
replace(/%5B/gi, '[').
replace(/%5D/gi, ']');
replace(/%20/g, '+');
}
/**